Index: mkdocs.yml ================================================================== --- mkdocs.yml +++ mkdocs.yml @@ -1,11 +1,12 @@ site_name: Ethics in Contemporary Ethnographic Research site_url: "" use_directory_urls: false + nav: - Home: 'index.md' - - Weeks: + - Units: - 'weeks/1.md' - 'weeks/2.md' - 'weeks/3.md' - 'weeks/4.md' - 'weeks/5.md' @@ -14,11 +15,16 @@ - 'assignments/1.md' - 'assignments/2.md' - 'assignments/3.md' - Bibliography: 'bib.md' - FAQ: 'faq.md' + markdown_extensions: - smarty - def_list plugins: - search + - with-pdf: + cover_subtitle: "Spring 2023" + toc_level: 1 + ordered_chapter_level: 1 DELETED refs.md Index: refs.md ================================================================== --- refs.md +++ refs.md @@ -1,5 +0,0 @@ ---- -nocite: '@*' ---- - -# References Index: shell.nix ================================================================== --- shell.nix +++ shell.nix @@ -1,9 +1,12 @@ with import {}; -stdenv.mkDerivation rec { - name = "env"; - env = buildEnv { name = name; paths = buildInputs; }; - buildInputs = [ +mkShell { + venvDir = ".venv"; + buildInputs = with python3.pkgs; [ haskellPackages.pandoc - mkdocs + weasyprint + venvShellHook ]; + postShellHook = '' + pip install mkdocs-with-pdf + ''; }