Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cc template #3

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "/Users/cmutel/Code/Brightway/cookiecutter-brightwaylib",
"commit": "c7aaac82b7465d91c1417b9ddaf634ebaab43ec5",
"template": "https://github.com/brightway-lca/cookiecutter-brightwaylib",
"commit": "9ee47efb8072303cf6476d873f392c7753d98082",
"checkout": null,
"context": {
"cookiecutter": {
Expand All @@ -17,7 +17,7 @@
"_copy_without_render": [
".github/*"
],
"_template": "/Users/cmutel/Code/Brightway/cookiecutter-brightwaylib"
"_template": "https://github.com/brightway-lca/cookiecutter-brightwaylib"
}
},
"directory": null
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-package-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
on:
push:
branches: [main, develop]
tags: '*'
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ instance/
.scrapy

# Sphinx documentation
docs/_build/
_build/

# PyBuilder
target/
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
version: 2

conda:
environment: environment.yaml
environment: docs/environment.yaml

sphinx:
configuration: docs/conf.py
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bw_interface_schemas Changelog
# `bw_interface_schemas` Changelog

All notable changes to this project will be documented in this file.

Expand Down
7 changes: 0 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ $ pytest
Unit tests are located in the _tests_ directory,
and are written using the [pytest][pytest] testing framework.

[pytest]: https://pytest.readthedocs.io/

## How to submit changes

Open a [pull request] to submit changes to this project.
Expand Down Expand Up @@ -109,8 +107,3 @@ This will allow a chance to talk it over with the owners and validate your appro

[pytest]: https://pytest.readthedocs.io/
[pull request]: https://github.com/brightway-lca/bw_interface_schemas/pulls


<!-- github-only -->

[Code of Conduct]: CODE_OF_CONDUCT.md
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,24 @@ please [file an issue][Issue Tracker] along with a detailed description.
[License]: https://github.com/brightway-lca/bw_interface_schemas/blob/main/LICENSE
[Contributor Guide]: https://github.com/brightway-lca/bw_interface_schemas/blob/main/CONTRIBUTING.md
[Issue Tracker]: https://github.com/brightway-lca/bw_interface_schemas/issues


## Building the Documentation

You can build the documentation locally by installing the documentation Conda environment:

```bash
conda env create -f docs/environment.yml
```

activating the environment

```bash
conda activate sphinx_bw_interface_schemas
```

and [running the build command](https://www.sphinx-doc.org/en/master/man/sphinx-build.html#sphinx-build):

```bash
sphinx-build docs _build/html --builder=html --jobs=auto --write-all; open _build/html/index.html
```
12 changes: 11 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# conf.py
# Sphinx configuration file
# https://www.sphinx-doc.org/en/master/usage/configuration.html

### import setup ##################################################################################

import datetime
Expand Down Expand Up @@ -35,6 +39,12 @@
# The master toctree document.
master_doc = 'index'

### intersphinx configuration ######################################################################

intersphinx_mapping = {
"bw": ("https://docs.brightway.dev/en/latest/", None),
}

### theme configuration ############################################################################

html_theme = "sphinx_rtd_theme"
Expand Down Expand Up @@ -105,4 +115,4 @@
'*.md',
'*.json',
'*.data'
]
]
4 changes: 4 additions & 0 deletions docs/environment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# environment.yaml
# Conda environment file for Read the Docs build of the Sphinx project
# https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually

name: sphinx_bw_interface_schemas
channels:
- conda-forge
Expand Down