Contributing to the Examples#
You can contribute examples to the Brightway Documentation webpage by following these steps:
Write your Notebook#
Write your Jupyter Notebook, using the template provided below. Make sure to include a Conda environment file in YAML format to ensure other users will be able to re-create your example from scratch.
Download Notebook Template
Format your Notebook#
Basic knowledge of the MyST Markdown syntax
Please follow the formatting instructions from the Formatting Guide.
Add your Notebook#
Basic knowledge of the GitHub contribution workflow (fork, branch, pull request)
A fork of the
Your finished example notebook
Once you are happy with your example, you can start the process to add it to the Brightway Documentation webpage.
All examples are collected in the
brightway-examples repository. To add your example, determine the appropriate location for it in the repository structure.
For instance, an example about importing data from the Ecoinvent 3.9.1 database should be added to the
Add your example to the approriate location in your fork of the
brightway-examples repository. Make sure to include the
.yaml files. Finally, open a pull request. Once the pull request has been merged by a member of the Brightway Development team, your example will be added to the Brightway Documentation webpage.