Skip to content

Commit

Permalink
Adjust template for YSDA
Browse files Browse the repository at this point in the history
1. Use Markdown instead of rst
2. Change branding
  • Loading branch information
zhmurov committed Aug 9, 2024
1 parent 9eeb4c9 commit be637d7
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 108 deletions.
1 change: 1 addition & 0 deletions content/01_Introduction/Introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Введение
Binary file added content/Figures/ysda_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Figures/ysda_logo_upscaled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 15 additions & 9 deletions content/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

# -- Project information -----------------------------------------------------

project = "LESSON NAME"
copyright = "2020, The contributors"
author = "The contributors"
github_user = "coderefinery"
project = "YSDA Course"
copyright = "2024"
author = "Authors"
github_user = "yandexdataschool"
github_repo_name = "" # auto-detected from dirname if blank
github_version = "main"
conf_py_path = "/content/" # with leading and trailing slash
Expand All @@ -38,12 +38,17 @@
"sphinx_rtd_theme_ext_color_contrast",
]

myst_enable_extensions = [
"colon_fence", # ::: can be used instead of ``` for better rendering
]

# Settings for myst_nb:
# https://myst-nb.readthedocs.io/en/latest/use/execute.html#triggering-notebook-execution
# jupyter_execute_notebooks = "off"
# jupyter_execute_notebooks = "auto" # *only* execute if at least one output is missing.
# jupyter_execute_notebooks = "force"
jupyter_execute_notebooks = "cache"
# https://myst-nb.readthedocs.io/en/latest/computation/execute.html#notebook-execution-modes
# nb_execution_mode = "off"
# nb_execution_mode = "auto" # *only* execute if at least one output is missing.
# nb_execution_mode = "force"
# nb_execution_mode = "cache"
nb_execution_mode = "cache"

# Add any paths that contain templates here, relative to this directory.
# templates_path = ['_templates']
Expand All @@ -67,6 +72,7 @@
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_logo = "Figures/ysda_logo_upscaled.png"

# 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
37 changes: 0 additions & 37 deletions content/guide.rst

This file was deleted.

16 changes: 16 additions & 0 deletions content/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Название курса

## Краткое описание

## Программа

## Критерии оценивания

## Полезные ссылки

```{toctree}
:maxdepth: 1
:caption: Лекции
01_Introduction/Introduction
```
60 changes: 0 additions & 60 deletions content/index.rst

This file was deleted.

2 changes: 0 additions & 2 deletions content/quick-reference.rst

This file was deleted.

0 comments on commit be637d7

Please sign in to comment.