Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 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: 6 additions & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"mesonpy",
"maturin"
],
"docs": ["sphinx", "mkdocs"],
"vcs": true,
"__year": "{% now 'utc', '%Y' %}",
"__project_slug": "{{ cookiecutter.project_name | lower | replace('-', '_') | replace('.', '_') }}",
Expand Down Expand Up @@ -45,6 +46,11 @@
"mesonpy": "Meson-python - Compiled C++ (also good)",
"maturin": "Maturin - Compiled Rust (recommended)"
},
"docs": {
"__prompt__": "Chose your documentation tool",
"sphinx": "Sphinx",
"mkdocs": "MkDocs"
},
"vcs": "Use version control for versioning"
}
}
8 changes: 8 additions & 0 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ backend:
"Maturin - Compiled Rust (recommended)": maturin
# [[[end]]]

# [[[cog print(cc.docs.yaml()) ]]]
docs:
help: Choose your documentation tool
choices:
"Sphinx": sphinx
"MkDocs": mkdocs
# [[[end]]]

# [[[cog print(cc.vcs.yaml()) ]]]
vcs:
type: bool
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ scientists and research software engineers. The repository contains:
## Contributing to the documentation

To build locally, install rbenv (remember to run `rbenv init` after installing,
and `rbenv install 3.1.2`). Then:
and `rbenv install 3.4.1`). Then:

```bash
bundle install
Expand Down
Loading
Loading