-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GitHub actions and docs generation (#10)
* Fix GitHub workflows and docs generation * Remove superfluous workflows yml * Update pyproject.toml * Remove docs/requirements.txt, adapt github/workflows/build.yml * Adapt setup.py * Adapt setup.cfg metadata fields to hold underscore-separated fields * Add path to .readthedocs.yml * Adapt docs/conf.py * Add setuptools and wheel to build.yml, remove specific python version from .readthedocs.yml * Fix typo in env.yml, adapt setup.cfg * Bugfix setup.cfg * Update pyproject.toml, remove .travis.yml, update Automated Tests badge link
- Loading branch information
Showing
12 changed files
with
137 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
version: 2 | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
formats: | ||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: mambaforge-4.10 | ||
|
||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: docs/requirements.txt | ||
- method: pip | ||
path: . | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
conda: | ||
environment: docs/env.yml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ Contributors | |
* Daniel Aberer <[email protected]> | ||
* Angelika Xaver <[email protected]> | ||
* Wolfgang Preimesberger <[email protected]> | ||
* Kasjen Kramer <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# To keep the RTD build as small as possible, we define a separate .yml here | ||
name: docs | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- python=3.10 | ||
- ipykernel | ||
- nbsphinx | ||
- mock | ||
- pillow | ||
- sphinx<7 | ||
- sphinx_rtd_theme | ||
- pip | ||
- pip: | ||
- recommonmark | ||
- readthedocs-sphinx-ext |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
[build-system] | ||
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD! | ||
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
version_scheme = "no-guess-dev" | ||
|
||
[tool.pytest.ini_options] | ||
pythonpath = ["src"] | ||
pythonpath = ["src"] | ||
addopts = "--cov=flagit --cov-report=term-missing --verbose" |
Oops, something went wrong.