Skip to content

Commit

Permalink
docs: add docs for RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
tmihoc committed Dec 4, 2024
1 parent e07983e commit 9ed174a
Show file tree
Hide file tree
Showing 208 changed files with 121 additions and 11,132 deletions.
4 changes: 2 additions & 2 deletions docs/.sphinx/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
canonical-sphinx[full] @ git+https://github.com/canonical/canonical-sphinx@main
canonical-sphinx[full]
sphinx-autobuild
sphinxcontrib-svg2pdfconverter[CairoSVG]
sphinx-tabs
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#
# TODO: Update with the official name of your project or product

project = "Juju CLI and core"
project = "Juju"
author = "Canonical Ltd."


Expand Down Expand Up @@ -201,9 +201,9 @@
# - youtube-links

extensions = [
"canonical_sphinx",
"sphinxcontrib.cairosvgconverter",
]
'canonical_sphinx',
'sphinx_design',
]


# Excludes files or directories from processing
Expand Down
4 changes: 2 additions & 2 deletions docs/custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import shutil

cli_dir = "user/cli/"
cli_dir = "user/reference/cli/"

# Remove existing cli folder to regenerate it
if os.path.exists(cli_dir):
Expand Down Expand Up @@ -30,7 +30,7 @@

# Add the template for the index file containing the command list.
if (not os.path.isfile(cli_dir + 'index.md')):
os.system('cp ' + 'user/cli_index.template ' + cli_dir + 'index.md')
os.system('cp ' + 'user/reference/cli_index.template ' + cli_dir + 'index.md')

# Write the list of commands to the index file toctree.
with open(cli_dir + "index.md", 'a') as index:
Expand Down
164 changes: 0 additions & 164 deletions docs/dev/how-to/create-new-mongo-db-collection.md

This file was deleted.

46 changes: 0 additions & 46 deletions docs/dev/how-to/create-unit-test-suite.md

This file was deleted.

Loading

0 comments on commit 9ed174a

Please sign in to comment.