-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from ISISComputingGroup/ticket14_docs_webpage
Ticket14 docs webpage
- Loading branch information
Showing
24 changed files
with
419 additions
and
175 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: sphinx | ||
|
||
on: [push, pull_request, workflow_call] | ||
|
||
jobs: | ||
call_sphinx_builder: | ||
uses: ISISComputingGroup/reusable-workflows/.github/workflows/sphinx.yml@main | ||
secrets: inherit |
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 |
---|---|---|
|
@@ -158,3 +158,7 @@ cython_debug/ | |
.vscode/ | ||
|
||
coverage_html_report/ | ||
|
||
# Sphinx generated | ||
doc/generated/* | ||
_build/ |
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,12 @@ | ||
:orphan: | ||
|
||
API | ||
=== | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:template: custom-module-template.rst | ||
:recursive: | ||
|
||
ibex_bluesky_core | ||
|
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,40 @@ | ||
|
||
|
||
{{ ('``' + fullname + '``') | underline }} | ||
|
||
{%- set filtered_members = [] %} | ||
{%- for item in members %} | ||
{%- if item in functions + classes + exceptions + attributes %} | ||
{% set _ = filtered_members.append(item) %} | ||
{%- endif %} | ||
{%- endfor %} | ||
|
||
.. automodule:: {{ fullname }} | ||
:members: | ||
:show-inheritance: | ||
|
||
{% block modules %} | ||
{% if modules %} | ||
.. rubric:: Submodules | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: custom-module-template.rst | ||
:recursive: | ||
{% for item in modules %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block members %} | ||
{% if filtered_members %} | ||
.. rubric:: Members | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
{% for item in filtered_members %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} |
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
File renamed without changes.
File renamed without changes.
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,48 @@ | ||
# Configuration file for the Sphinx documentation builder. | ||
# | ||
# For the full list of built-in configuration values, see the documentation: | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html | ||
|
||
# -- Project information ----------------------------------------------------- | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information | ||
|
||
import os | ||
import sys | ||
|
||
sys.path.insert(0, os.path.abspath("../src")) | ||
|
||
project = "ibex_bluesky_core" | ||
copyright = "" | ||
author = "ISIS Experiment Controls" | ||
release = "0.1" | ||
|
||
|
||
# -- General configuration --------------------------------------------------- | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration | ||
|
||
extensions = [ | ||
"myst_parser", | ||
"sphinx.ext.autodoc", | ||
# and making summary tables at the top of API docs | ||
"sphinx.ext.autosummary", | ||
# This can parse google style docstrings | ||
"sphinx.ext.napoleon", | ||
# For linking to external sphinx documentation | ||
"sphinx.ext.intersphinx", | ||
# Add links to source code in API docs | ||
"sphinx.ext.viewcode", | ||
] | ||
napoleon_google_docstring = True | ||
napoleon_numpy_docstring = False | ||
|
||
templates_path = ["_templates"] | ||
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] | ||
|
||
|
||
# -- Options for HTML output ------------------------------------------------- | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output | ||
|
||
html_theme = "sphinx_rtd_theme" | ||
html_static_path = ["_static"] | ||
|
||
autoclass_content = "both" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
### Release Process | ||
# Release Process | ||
|
||
Releases are created automatically via a github action. | ||
|
||
|
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
Oops, something went wrong.