diff --git a/docs/chapters/definitions.md b/docs/misc/definitions.md similarity index 100% rename from docs/chapters/definitions.md rename to docs/misc/definitions.md diff --git a/docs/chapters/faq.md b/docs/misc/faq.md similarity index 100% rename from docs/chapters/faq.md rename to docs/misc/faq.md diff --git a/docs/chapters/functions.md b/docs/misc/functions.md similarity index 100% rename from docs/chapters/functions.md rename to docs/misc/functions.md diff --git a/mkdocs.yml b/mkdocs.yml index ce3e9a7..42dd46e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -31,9 +31,9 @@ nav: - Show the 2D coordinate systems: chapters/show_2d_coordinate_systems.md - Misc: - Contributors: misc/contributors.md - - Definitions: chapters/definitions.md - - FAQ: chapters/faq.md - - Functions: chapters/functions.md + - Definitions: misc/definitions.md + - FAQ: misc/faq.md + - Functions: misc/functions.md theme: name: material diff --git a/scripts/helper_functions.R b/scripts/helper_functions.R index 45ed3f7..964a8da 100644 --- a/scripts/helper_functions.R +++ b/scripts/helper_functions.R @@ -9,17 +9,17 @@ get_all_chapter_filenames <- function() { # Remove some files that are not in chapters # Check that they exist - md_files <- stringr::str_subset(all_md_files, "faq.md", negate = TRUE) - testthat::expect_equal(length(all_md_files)- 1, length(md_files)) + # md_files <- stringr::str_subset(all_md_files, "faq.md", negate = TRUE) + # testthat::expect_equal(length(all_md_files)- 1, length(md_files)) - md_files <- stringr::str_subset(md_files, "definitions.md", negate = TRUE) - testthat::expect_equal(length(all_md_files)- 2, length(md_files)) + # md_files <- stringr::str_subset(md_files, "definitions.md", negate = TRUE) + # testthat::expect_equal(length(all_md_files)- 2, length(md_files)) - md_files <- stringr::str_subset(md_files, "introduction.md", negate = TRUE) - testthat::expect_equal(length(all_md_files)- 3, length(md_files)) + # md_files <- stringr::str_subset(md_files, "introduction.md", negate = TRUE) + # testthat::expect_equal(length(all_md_files)- 3, length(md_files)) - md_files <- stringr::str_subset(md_files, "functions.md", negate = TRUE) - testthat::expect_equal(length(all_md_files)- 4, length(md_files)) + # md_files <- stringr::str_subset(md_files, "functions.md", negate = TRUE) + # testthat::expect_equal(length(all_md_files)- 4, length(md_files)) md_files }