Skip to content

Commit

Permalink
Move docs to top-level directory
Browse files Browse the repository at this point in the history
This makes the docs a top-level directory in the hierarchy rather than
hiding it in a subfolder of the client.

It's preferable this way since the docs also contain some information
regarding the backend, and we are not (currently) planning on making a
separate backend docs folder.
  • Loading branch information
nicholasjng committed Oct 1, 2024
1 parent 1a1f92e commit 9051391
Show file tree
Hide file tree
Showing 19 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion client/docs/CONTRIBUTING.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/CONTRIBUTING.md
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

nav = mkdocs_gen_files.Nav()

for path in sorted(Path("src").rglob("*.py")):
module_path = path.relative_to("src").with_suffix("")
doc_path = path.relative_to("src").with_suffix(".md")
for path in sorted(Path("client/src").rglob("*.py")):
module_path = path.relative_to("client/src").with_suffix("")
doc_path = path.relative_to("client/src").with_suffix(".md")
full_doc_path = Path("reference", doc_path)

parts = list(module_path.parts)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion client/mkdocs.yml → mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ nav:

# Rebuild docs in `mkdocs serve` for changes in source code
watch:
- src/
- client/src/

plugins:
- callouts
Expand Down

0 comments on commit 9051391

Please sign in to comment.