Skip to content

Commit 9d48f8a

Browse files
authored
Only build toc files and run pre-commit hooks (#67)
* Only build toc files * Run pre-commit hooks
1 parent 8806d73 commit 9d48f8a

5 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@ dmypy.json
130130
# Pyre type checker
131131
.pyre/
132132

133-
build/
133+
build/

‎_config.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: MyPackage - The reproducible template for Simula Research Laboratory
55
author: Jørgen S. Dokken
66
logo: "docs/logo.png"
77
copyright: "2022"
8+
only_build_toc_files : true
89

910
# Force re-execution of notebooks on each build.
1011
# See https://jupyterbook.org/content/execute.html
@@ -38,4 +39,4 @@ sphinx:
3839

3940

4041
exclude_patterns: ["README.md","src/*", "test/*",
41-
"CONTRIBUTING.md", ".pytest_cache/*", "*.py"]
42+
"CONTRIBUTING.md", ".pytest_cache/*", "*.py"]

‎_toc.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ parts:
2323
- caption: Other Features
2424
chapters:
2525
- file: "docs/part5/badges"
26-
27-

‎demo/add_numbers.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# language: python
1313
# name: python3
1414
# ---
15-
1615
# # Using mypackage
1716
# Author: Jørgen S. Dokken
1817
#

‎index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ To set up a repository with features from this webpage, see: [Scientific Computi
77

88
## Contents
99
```{tableofcontents}
10-
```
10+
```

0 commit comments

Comments
 (0)