-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: add stubs for documentation (#17)
Adds the infrastructure for building documentation. Can currently only be built locally, as the repository is still private, but will eventually be built on ReadTheDocs. Closes: #4 Reviewed-by: Nicolas Tessore Co-authored-by: Nicolas Tessore <[email protected]>
- Loading branch information
1 parent
1292566
commit 2aef719
Showing
9 changed files
with
88 additions
and
19 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
mkdocs: | ||
configuration: mkdocs.yml | ||
|
||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs |
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,3 +1,8 @@ | ||
# _Heracles_ — Harmonic-space statistics on the sphere | ||
|
||
[![PyPI](https://img.shields.io/pypi/v/heracles)](https://pypi.org/project/heracles) | ||
[![Python](https://img.shields.io/pypi/pyversions/heracles)](https://www.python.org) | ||
[![Documentation](https://readthedocs.org/projects/heracles/badge/?version=latest)](https://heracles.readthedocs.io/en/latest/?badge=latest) | ||
[![Test](https://github.com/heracles-ec/heracles/actions/workflows/test.yml/badge.svg)](https://github.com/heracles-ec/heracles/actions/workflows/test.yml) | ||
|
||
The _Heracles_ code was developed in the _Euclid_ Science Ground Segment. |
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,3 @@ | ||
# API Documentation | ||
|
||
::: heracles |
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,3 @@ | ||
{% | ||
include-markdown "../README.md" | ||
%} |
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,46 @@ | ||
site_name: Heracles | ||
site_url: https://heracles.readthedocs.io | ||
nav: | ||
- Home: index.md | ||
- API: api.md | ||
theme: | ||
name: material | ||
palette: | ||
# palette toggle for dark mode | ||
- scheme: slate | ||
toggle: | ||
icon: material/brightness-4 | ||
name: Switch to light mode | ||
# palette toggle for light mode | ||
- scheme: default | ||
toggle: | ||
icon: material/brightness-7 | ||
name: Switch to dark mode | ||
plugins: | ||
- include-markdown | ||
- mkdocstrings: | ||
handlers: | ||
python: | ||
options: | ||
# general | ||
allow_inspection: false | ||
show_bases: false | ||
show_source: false | ||
# headings | ||
show_category_heading: true | ||
show_object_full_path: false | ||
show_root_toc_entry: true | ||
# members | ||
filters: ["!^__?"] | ||
inherited_members: true | ||
show_submodules: false | ||
# docstrings | ||
docstring_options: | ||
ignore_init_summary: true | ||
docstring_section_style: spacy | ||
merge_init_into_class: true | ||
show_if_no_docstring: true | ||
# signatures | ||
line_length: 80 | ||
show_signature: false | ||
- search |
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