Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/_static/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/_static/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions docs/_static/logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 24 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,29 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]
nbsphinx_execute = "always"
html_static_path = ["../_static"]

html_theme_options = {
"logo": {
"text": "AutoIntent",
"image_light": "../_static/logo-light.svg",
"image_dark": "../_static/logo-dark.svg",
},
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/deeppavlov/AutoIntent",
"icon": "fa-brands fa-github",
"type": "fontawesome",
},
],
"show_toc_level": 3,
}

html_favicon = "../_static/logo-white.svg"
html_show_sourcelink = False

toc_object_entries_show_parents = "hide"

todo_include_todos = True

Expand All @@ -87,6 +108,7 @@
nbsphinx_prolog = """
:tutorial_name: {{ env.docname }}
"""
nbsphinx_execute = "always"

mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"

Expand Down
20 changes: 10 additions & 10 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,28 @@ Example of building an intent classifier in a couple of lines of code:
Documentation Contents
----------------------

:doc:`quickstart`
.................
:doc:`Quickstart <quickstart>`
..............................

It is recommended to begin with the :doc:`quickstart` page. It contains overview of our capabilities.

:doc:`concepts`
...............
:doc:`Key Concepts <concepts>`
..............................

This page contains basic information about the terms and concepts we use throughout our documentation.

:doc:`tutorials`
................
:doc:`Tutorials <tutorials>`
............................

Newbie-friendly information on how to perform different tasks using our library.

:doc:`guides/index`
...................
:doc:`User Guides<guides/index>`
................................

Some advanced information

:doc:`learn/index`
..................
:doc:`Learn AutoIntent<learn/index>`
....................................

Some theoretical background

Expand Down
2 changes: 1 addition & 1 deletion docs/source/quickstart.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Quick Start
Quickstart
===========

Installation
Expand Down
1 change: 1 addition & 0 deletions docs/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ Tutorials
.. toctree::
:name: tutorials
:glob:
:maxdepth: 2

tutorials/index_*
Loading