From c3ae5a2ddeff36887434573984dffc4315a35790 Mon Sep 17 00:00:00 2001 From: Jeroen Van Goey Date: Tue, 27 Feb 2024 16:56:37 +0200 Subject: [PATCH] docs: add mkdocs.yml --- mkdocs.yml | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 mkdocs.yml diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..be24456 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,87 @@ +site_name: InstaNovo +site_description: Documentation for InstaNovo +site_author: InstaDeep Developers +site_url: https://instadeep.gitlab.io/instanovo/ +site_dir: public +repo_name: instadeep/dtu-denovo-sequencing +repo_url: https://github.com/instadeepai/InstaNovo +strict: false + +theme: + name: material + language: en + palette: + - scheme: default + primary: white + accent: purple + toggle: + icon: material/weather-sunny + name: Switch to dark mode + - scheme: slate + primary: black + accent: lime + toggle: + icon: material/weather-night + name: Switch to light mode + logo: assets/instadeep-logo.png + favicon: assets/instadeep-logo.png + icon: + repo: fontawesome/brands/gitlab + font: + text: Avenir Next + features: + - navigation.tracking # the URL is automatically updated with the active anchor + - navigation.sections # top-level sections are rendered as groups in the sidebar + - navigation.tabs # horizontal tabs at the top of the page + - navigation.tabs.sticky # navigation tabs will lock below the header and always remain visible when scrolling + - navigation.indexes # documents can be directly attached to sections + - search.highlight # highlight search result + - search.share # share button + - search.suggest # smart suggestion + - toc.integrate + - toc.follow + - content.code.annotate + - navigation.tabs + - navigation.top + +markdown_extensions: + - pymdownx.highlight: + anchor_linenums: true + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + +plugins: + - search + - autorefs + # - git-revision-date + - include-markdown + - gen-files: + scripts: + - docs/gen_ref_nav.py + - mkdocstrings: + default_handler: python + handlers: + python: + paths: [instanovo] + options: + docstring_style: google + merge_init_into_class: yes + show_submodules: no + selection: + inherited_members: false + rendering: + show_source: false + members_order: source + show_if_no_docstring: true + show_signature: true + show_signature_annotations: true + show_root_full_path: false + show_root_heading: true + merge_init_into_class: true + docstring_section_style: spacy + +nav: + - Home: index.md + - License: LICENSE.md + - Code reference: reference/SUMMARY.md