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

✨ NEW: Add RTD site #33

Merged
merged 5 commits into from
Dec 16, 2021
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,5 @@ tags
# End of https://www.gitignore.io/api/vim,python,pycharm

.DS_Store
.vscode/
_build/
10 changes: 10 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2

python:
version: "3.8"
install:
- requirements: doc_requirements.txt

sphinx:
builder: html
fail_on_warning: true
2 changes: 1 addition & 1 deletion 000_aep_guidelines/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ A summary for pros and cons for the proposed enhancement, detailing e.g. which p
and put readme file in [Markdown](https://guides.github.com/features/mastering-markdown/) format inside this folder.
* You may use this `readme.md` as a template.
* You may use the folder to include additional files relevant to your enhancement proposal.
* Add your AEP to the `README.md` at the top level of the repository.
* Add your AEP to the `README.md` and `_toc.yml` files at the root of the repository.
* Consider discussing your proposal informally with an [AiiDA team](https://github.com/orgs/aiidateam/people) member to get an initial reaction
and, potentially, another champion for your proposal.
3. Commit your changes and submit a [pull request](https://help.github.com/en/articles/creating-a-pull-request) to the AEP repository
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AiiDA Enhancement Proposals (AEPs)

This repository contains enhancement proposals for [AiiDA](www.aiida.net) (AiiDA
This repository contains enhancement proposals for [AiiDA](https://www.aiida.net) (AiiDA
enhancement proposals = AEPs), similar to
[PEPs](https://www.python.org/dev/peps/) of the python core language but
less 'formalized' and closer to the way the [Jupyter project deals
Expand All @@ -9,18 +9,18 @@ with enhancement proposals](https://github.com/jupyter/enhancement-proposals).
The purpose is to publicly discuss new features & design choices in the AiiDA
ecosystem and to document the decision making process.


## Index of AEPs
## Index of AEPs

| Number | Status | Title |
|--------|------------------|------------------------------------------------------------------|
| 000 | active | [AEP guidelines](000_aep_guidelines/readme.md) |
| 001 | implemented | [Drop support for Python 2.7](001_drop_python2/) |
| 002 | implemented | [AiiDA Dependency Management](002_dependency_management/) |
| 003 | active | [Adopt NEP 29](003_adopt_nep_29/) |
| 004 | implemented | [Infrastructure for importing completed `CalcJob`s](004_calcjob_importer/) |
| 005 | draft | [New Export Format](005_exportformat/) |
| 006 | implemented | [Efficient object store for the AiiDA repository](006_efficient_object_store_for_repository/) |
| 001 | implemented | [Drop support for Python 2.7](001_drop_python2/readme.md) |
| 002 | implemented | [AiiDA Dependency Management](002_dependency_management/readme.md) |
| 003 | active | [Adopt NEP 29](003_adopt_nep_29/readme.md) |
| 004 | implemented | [Infrastructure for importing completed `CalcJob`s](004_calcjob_importer/readme.md) |
| 005 | draft | [New Export Format](005_exportformat/readme.md) |
| 006 | implemented | [Efficient object store for the AiiDA repository](006_efficient_object_store_for_repository/readme.md) |

## Submitting an AEP
The submission process is described in the [AEP guidelines](000_aep_guidelines/readme.md) which also act as a template for new AEPs.

The submission process is described in the [AEP guidelines](000_aep_guidelines/readme.md) which also act as a template for new AEPs.
11 changes: 11 additions & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root: README.md
subtrees:
- caption: Proposals
entries:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no way to automate this, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, not currently

- file: 000_aep_guidelines/readme.md
- file: 001_drop_python2/readme.md
- file: 002_dependency_management/readme.md
- file: 003_adopt_nep_29/readme.md
- file: 004_calcjob_importer/readme.md
- file: 005_exportformat/readme.md
- file: 006_efficient_object_store_for_repository/readme.md
10 changes: 10 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""Sphinx configuration file."""

project = html_title = "AiiDA Enhancement Proposals"
author = "The AiiDA team"

extensions = ["myst_parser", "sphinx_external_toc"]
exclude_patterns = [".github", ".tox", ".vscode", "_build"]
external_toc_exclude_missing = True
html_theme = "furo"
suppress_warnings = ["myst.header"]
3 changes: 3 additions & 0 deletions doc_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
myst-parser~=0.16.0
sphinx-external-toc~=0.2.3
furo==2021.11.23
13 changes: 13 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tox]
envlist = docs-clean

[testenv:docs-{update,clean}]
skip_install = true
deps = -rdoc_requirements.txt
whitelist_externals =
rm
echo
commands =
clean: rm -rf docs/_build
sphinx-build -nW --keep-going -b {posargs:html} . _build/{posargs:html}
commands_post = echo "open file://{toxinidir}/_build/{posargs:html}/index.html"