Skip to content

Commit

Permalink
Switch to Furo theme
Browse files Browse the repository at this point in the history
I dislike rtd theme we use for our sphinx documentation. This PR
replaces it by Furo theme. This theme is more responsive.
  • Loading branch information
Halbaroth committed Aug 30, 2024
1 parent 6323189 commit 93478e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/sphinx_docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# -- Project information -----------------------------------------------------

project = 'Alt-Ergo Documentation'
project = 'Alt-Ergo'
copyright = '2020 - 2023, Alt-Ergo developers'
author = 'Alt-Ergo developers'

Expand Down Expand Up @@ -57,7 +57,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme = 'furo'
html_theme_options = {
'navigation_depth': 5,
}
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx_docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
###### Requirements for sphinx doc ######
sphinx >= 4.4.0
myst-parser
sphinx_rtd_theme
furo
sphinx-markdown-tables
#
1 change: 1 addition & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import sources.nixpkgs {
dolmen_loop = pkgs.callPackage ./dolmen_loop.nix { };
landmarks = pkgs.callPackage ./landmarks.nix { };
landmarks-ppx = pkgs.callPackage ./landmarks-ppx.nix { };
furo = pkgs.callPackage ./furo.nix { };
});
})
];
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pkgs.mkShell {
pkgs.sphinx
python3Packages.myst-parser
python3Packages.sphinx-markdown-tables
python3Packages.sphinx-rtd-theme
python3Packages.furo
ocaml
dune_3
ocaml-lsp
Expand Down

0 comments on commit 93478e5

Please sign in to comment.