Skip to content
Draft
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: 4 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ $(VENVDIR):
. $(VENV); pip install $(PIPOPTS) --require-virtualenv \
--upgrade -r requirements.txt \
--log $(VENVDIR)/pip_install.log
@test ! -f $(VENVDIR)/pip_list.txt || \
mv $(VENVDIR)/pip_list.txt $(VENVDIR)/pip_list.txt.bak
@. $(VENV); pip list --local --format=freeze > $(VENVDIR)/pip_list.txt
. $(VENV); pip install dist/ulwazi-0.1.tar.gz
# @test ! -f $(VENVDIR)/pip_list.txt || \
# mv $(VENVDIR)/pip_list.txt $(VENVDIR)/pip_list.txt.bak
# @. $(VENV); pip list --local --format=freeze > $(VENVDIR)/pip_list.txt
@touch $(VENVDIR)

spellcheck-install:
Expand Down
52 changes: 47 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,40 @@
"display_contributors": False,

# Required for feedback button
'github_issues': 'enabled',
"feedback": True,
"github_issues": "enabled",
"default_source_extension": ".md",
"default_edit_url": "https://github.com/canonical/ulwazi/edit/main/docs/index.rst",
"default_view_url": "https://github.com/canonical/ulwazi/blob/main/docs/index.rst",

# Horizontal Nav Menu
"company": "Canonical",
"link1_URL": "https://snapcraft.io/",
"link1_name": "First optional link",
"link2_URL": "https://snapcraft.io/",
"link2_name": "Second optional link",

# Canonical Product menu
# Uncomment if you need a product menu added on the top of every page
"add_product_menu": True,

# Main Horizontal menu
# "is_docs": False, # Purpose unknown
"logo_link_URL": "https://documentation.ubuntu.com",
"logo_img_URL": "https://assets.ubuntu.com/v1/82818827-CoF_white.svg",
"logo_title": "Canonical",

# TODO: Customize the footer.
"footer": {
# Whether to add the product name as the first entry.
"product": True,
# Whether to add the license as the second entry.
"license": True,
# List your footer entries. Accepts HTML tags.
"entries": [
'<a class="js-revoke-cookie-manager" href="#tracker-settings">Manage your tracker settings</a>',
]
}
}

# TODO: To enable the edit button on pages, uncomment and change the link to a
Expand All @@ -172,6 +205,9 @@

# slug = ''

# Limit the number of levels for Table of contents
localtoc_max_depth = 3

#######################
# Sitemap configuration: https://sphinx-sitemap.readthedocs.io/
#######################
Expand All @@ -191,9 +227,9 @@

# Template and asset locations

#html_static_path = ["_static"]
#templates_path = ["_templates"]

html_theme = "ulwazi"
html_static_path = ["_static"]
templates_path = ["_templates"]

#############
# Redirects #
Expand Down Expand Up @@ -278,11 +314,17 @@
# - youtube-links

extensions = [
"canonical_sphinx",
"sphinxcontrib.cairosvgconverter",
"sphinx_last_updated_by_git",
"sphinx.ext.intersphinx",
"sphinx_sitemap",
"ulwazi",
"sphinx_modern_pdf_style",
"canonical_sphinx_config",
"myst_parser",
"sphinxcontrib.jquery",
"sphinx_tabs.tabs",
"sphinx_design",
]

# Excludes files or directories from processing
Expand Down
Binary file added docs/dist/defaced-ulwazi-0.1.tar.gz
Binary file not shown.
Binary file added docs/dist/ulwazi-0.1.tar.gz
Binary file not shown.
14 changes: 13 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
canonical-sphinx[full]
sphinx
build
sphinx-autobuild
canonical-sphinx-config @ git+https://github.com/Canonical/canonical-sphinx-config.git@main
sphinx-modern-pdf-style
myst-parser
sphinx-basic-ng
sphinxcontrib-jquery
beautifulsoup4
# canonical-sphinx[full]
packaging
sphinxcontrib-svg2pdfconverter[CairoSVG]
sphinx-last-updated-by-git
sphinx-design
sphinx-sitemap
sphinx-tabs

Loading