Skip to content

Commit

Permalink
📝 Fix trailing slash design (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf authored Aug 4, 2023
1 parent 2ce32e9 commit 65e9b67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:maxdepth: 1
:hidden:
guide/index
guide
reference
changelog
```
16 changes: 8 additions & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def install(session: nox.Session) -> None:
:hidden:
:caption: Other topics
../faq/index
../storage/index
faq
storage
```
"""

Expand All @@ -49,9 +49,9 @@ def install(session: nox.Session) -> None:
:hidden:
:caption: Other topics
../faq/index
../glossary
../problems
faq
glossary
problems
```
"""

Expand Down Expand Up @@ -83,7 +83,7 @@ def pull_artifacts(session):
continue
path.rename(Path("docs") / path.name)
# lamindb guide
replace_content("docs/guide/index.md", {OTHER_TOPICS_ORIG: "\n\n"})
replace_content("docs/guide.md", {OTHER_TOPICS_ORIG: "\n\n"})
# integrations
pull_from_s3_and_unpack("redun_lamin_fasta_docs.zip")
Path("redun_lamin_fasta_docs/guide/1-redun.ipynb").rename("docs/redun.ipynb")
Expand All @@ -93,9 +93,9 @@ def pull_artifacts(session):
for path in Path("lamin_usecases_docs/usecases/").glob("*"):
path.rename(Path("docs/usecases") / path.name)

with open("docs/guide/index.md") as f:
with open("docs/guide.md") as f:
content = f.read()
with open("docs/guide/index.md", "w") as f:
with open("docs/guide.md", "w") as f:
content += EXAMPLES
content += OTHER_TOPICS
f.write(content)
Expand Down

0 comments on commit 65e9b67

Please sign in to comment.