diff --git a/.gitignore b/.gitignore index c0d3369..13da4b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /_build .ipynb_checkpoints /venv* +.venv .jupyter_cache jupyter_execute diff --git a/content/00_Introduction/Introduction.md b/content/00_Introduction/Introduction.md new file mode 100644 index 0000000..023488c --- /dev/null +++ b/content/00_Introduction/Introduction.md @@ -0,0 +1 @@ +## Введение в С++ \ No newline at end of file diff --git a/content/conf.py b/content/conf.py index a33793b..83b072f 100644 --- a/content/conf.py +++ b/content/conf.py @@ -17,10 +17,10 @@ # -- Project information ----------------------------------------------------- -project = "LESSON NAME" -copyright = "2020, The contributors" -author = "The contributors" -github_user = "coderefinery" +project = "YSDA C++ 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 @@ -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'] diff --git a/content/guide.rst b/content/guide.rst deleted file mode 100644 index 89553fb..0000000 --- a/content/guide.rst +++ /dev/null @@ -1,37 +0,0 @@ -Instructor's guide -================== - -Why we teach this lesson ------------------------- - - - -Intended learning outcomes --------------------------- - - - -Timing ------- - - - -Preparing exercises -------------------- - -e.g. what to do the day before to set up common repositories. - - - -Other practical aspects ------------------------ - - - -Interesting questions you might get ------------------------------------ - - - -Typical pitfalls ----------------- diff --git a/content/index.md b/content/index.md new file mode 100644 index 0000000..86aa9a4 --- /dev/null +++ b/content/index.md @@ -0,0 +1,8 @@ +# Программирование на языке C++, часть 1 + +```{toctree} +:maxdepth: 1 +:caption: Лекции + +00_Introduction/Introduction +``` diff --git a/content/index.rst b/content/index.rst deleted file mode 100644 index f981650..0000000 --- a/content/index.rst +++ /dev/null @@ -1,60 +0,0 @@ -LESSON NAME -=========== - -Intro - - - -.. prereq:: - - prerequisites - - - -.. csv-table:: - :widths: auto - :delim: ; - - 20 min ; :doc:`filename` - - -.. toctree:: - :maxdepth: 1 - :caption: The lesson - - -.. toctree:: - :maxdepth: 1 - :caption: Reference - - quick-reference - guide - - - -.. _learner-personas: - -Who is the course for? ----------------------- - - - - - -About the course ----------------- - - - - - - -See also --------- - - - - - -Credits -------- diff --git a/content/quick-reference.rst b/content/quick-reference.rst deleted file mode 100644 index 492da1e..0000000 --- a/content/quick-reference.rst +++ /dev/null @@ -1,2 +0,0 @@ -Quick Reference -===============