Skip to content
Snippets Groups Projects
Commit 590ae303 authored by Maël Madon's avatar Maël Madon
Browse files

doc: reconfigure sphnix doc with sphinx-quickstart script, create a dedicated nix-shell for doc

parent 7f80626e
No related branches found
No related tags found
No related merge requests found
Pipeline #9498 passed
......@@ -7,4 +7,5 @@ result
.vscode
.cache
compile_commands.json
export_path_for_tests
\ No newline at end of file
export_path_for_tests
docs/_build
\ No newline at end of file
......@@ -74,6 +74,12 @@ let
pandas
];
};
doc = pkgs.stdenv.mkDerivation rec {
name = "sphinx-documentation";
buildInputs = with pythonPackages; [ sphinx sphinx_rtd_theme myst-parser ];
};
};
......
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
# 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
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'Batmen'
copyright = '2021-2024, Maël Madon'
author = 'Maël Madon'
copyright = '2024, Maël Madon, Millian Poquet, Jolyne Gatt'
author = 'Maël Madon, Millian Poquet, Jolyne Gatt'
release = ''
version = ''
# -- General configuration
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'myst_parser'
......@@ -17,14 +19,11 @@ extensions = [
source_suffix = ['.rst', '.md']
# intersphinx_mapping = {
# 'python': ('https://docs.python.org/3/', None),
# 'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
# }
# intersphinx_disabled_domains = ['std']
templates_path = ['_templates']
# templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme'
\ No newline at end of file
html_theme = 'sphinx_rtd_theme'
# html_static_path = ['_static']
.. Sphinx with Markdown documentation master file, created by
sphinx-quickstart on Thu Oct 6 19:07:54 2016.
.. Batmen documentation master file, created by
sphinx-quickstart on Tue Jun 18 10:38:15 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Batmen documentation
================================================
TODO
Contents:
Welcome to Batmen's documentation!
==================================
.. toctree::
:maxdepth: 2
:caption: Contents:
.. question.md
.. answer.md
.. answer_beni.md
user_categories.md
.. Indices and tables
.. ==================
Indices and tables
==================
.. * :ref:`genindex`
.. * :ref:`modindex`
.. * :ref:`search`
\ No newline at end of file
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
# User categories
TODO description générale...
## Modelled users
TODO
## Replay users
TODO
## Feedback users
TODO
## Feedback and replay users
TODO
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment