Skip to content

Commit

Permalink
Merge pull request #1 from biosustain/new_training
Browse files Browse the repository at this point in the history
New_training
  • Loading branch information
enryH authored Oct 3, 2024
2 parents e6b958e + cec3346 commit a39718e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 17 deletions.
32 changes: 16 additions & 16 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,26 +75,26 @@
# See:
# https://github.com/executablebooks/MyST-NB/blob/master/docs/conf.py
# html_title = ""
html_theme = "sphinx_book_theme"
html_theme = "press"
# html_theme = "sphinx_book_theme" # alternative
# html_logo = "_static/logo-wide.svg"
# html_favicon = "_static/logo-square.svg"
html_theme_options = {
"github_url": "https://github.com/biosustain/",
"repository_url": "https://github.com/biosustain/dsp_notes_template_test",
# "repository_branch": "main",
# "home_page_in_toc": True,
# "path_to_docs": "docs",
"show_navbar_depth": 1,
# "use_edit_page_button": True,
"use_repository_button": True,
"use_download_button": True,
"launch_buttons": {
"colab_url": "https://colab.research.google.com"
# "binderhub_url": "https://mybinder.org",
# "notebook_interface": "jupyterlab",
},
"navigation_with_keys": False,
# "github_url": "https://github.com/biosustain/",
# "repository_url": "https://github.com/biosustain/dsp_notes_template_test",
# # "repository_branch": "main",
# # "home_page_in_toc": True,
# # "path_to_docs": "docs",
# "show_navbar_depth": 1,
# # "use_edit_page_button": True,
# "use_repository_button": True,
# "use_download_button": True,
# "launch_buttons": {
# "colab_url": "https://colab.research.google.com"
# # "binderhub_url": "https://mybinder.org",
# # "notebook_interface": "jupyterlab",
# },
# "navigation_with_keys": False,
}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
8 changes: 8 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ about
folder_topic/coding
folder_topic/article_topic
```

```{toctree}
:maxdepth: 2
:hidden:
:caption: New Topic
newtopic/creating_a_website
```
7 changes: 7 additions & 0 deletions newtopic/creating_a_website.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# How to create a website

This is a step-by-step guide on how to create a website using Sphinx and GitHub Pages.

## Subheaing

# subsubheading
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sphinx
sphinx-book-theme
sphinx-press-theme
myst-nb
ipywidgets
sphinx-new-tab-link!=0.2.2
Expand Down

0 comments on commit a39718e

Please sign in to comment.