Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Relm-Arrowny committed Mar 28, 2024
1 parent 3a47772 commit d5525c6
Show file tree
Hide file tree
Showing 37 changed files with 233 additions and 686 deletions.
28 changes: 8 additions & 20 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,13 @@
"sphinx_copybutton",
# For the card element
"sphinx_design",
# So we can write markdown files
"myst_parser",
]

# So we can use the ::: syntax
myst_enable_extensions = ["colon_fence"]

# If true, Sphinx will warn about all references where the target cannot
# be found.
nitpicky = True
Expand Down Expand Up @@ -82,9 +87,6 @@
# role, that is, for text marked up `like this`
default_role = "any"

# The suffix of source filenames.
source_suffix = ".rst"

# The master toctree document.
master_doc = "index"

Expand All @@ -103,15 +105,6 @@
# A dictionary of graphviz graph attributes for inheritance diagrams.
inheritance_graph_attrs = {"rankdir": "TB"}

# Common links that should be available on every page
rst_epilog = """
.. _Diamond Light Source: http://www.diamond.ac.uk
.. _black: https://github.com/psf/black
.. _ruff: https://beta.ruff.rs/docs/
.. _mypy: http://mypy-lang.org/
.. _pre-commit: https://pre-commit.com/
"""

# Ignore localhost links for periodic check that links in docs are valid
linkcheck_ignore = [r"http://localhost:\d+/"]

Expand All @@ -126,7 +119,7 @@
# a list of builtin themes.
#
html_theme = "pydata_sphinx_theme"
github_repo = project
github_repo = "i10-bluesky"
github_user = "Relm-Arrowny"
switcher_json = f"https://{github_user}.github.io/{github_repo}/switcher.json"
switcher_exists = requests.get(switcher_json).ok
Expand Down Expand Up @@ -167,12 +160,7 @@
},
"check_switcher": False,
"navbar_end": ["theme-switcher", "icon-links", "version-switcher"],
"external_links": [
{
"name": "Release Notes",
"url": f"https://github.com/{github_user}/{github_repo}/releases",
}
],
"navigation_with_keys": False,
}

# A dictionary of values to pass into the template engine’s context for all pages
Expand All @@ -191,4 +179,4 @@

# Logo
html_logo = "images/dls-logo.svg"
html_favicon = "images/dls-favicon.ico"
html_favicon = html_logo
17 changes: 0 additions & 17 deletions docs/developer/explanations/decisions.rst

This file was deleted.

This file was deleted.

This file was deleted.

38 changes: 0 additions & 38 deletions docs/developer/how-to/build-docs.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/developer/how-to/contribute.rst

This file was deleted.

39 changes: 0 additions & 39 deletions docs/developer/how-to/lint.rst

This file was deleted.

16 changes: 0 additions & 16 deletions docs/developer/how-to/make-release.rst

This file was deleted.

74 changes: 0 additions & 74 deletions docs/developer/how-to/pin-requirements.rst

This file was deleted.

12 changes: 0 additions & 12 deletions docs/developer/how-to/run-tests.rst

This file was deleted.

8 changes: 0 additions & 8 deletions docs/developer/how-to/static-analysis.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/developer/how-to/test-container.rst

This file was deleted.

16 changes: 0 additions & 16 deletions docs/developer/how-to/update-tools.rst

This file was deleted.

Loading

0 comments on commit d5525c6

Please sign in to comment.