|
1 | 1 | # Book settings |
2 | 2 | # Learn more at https://jupyterbook.org/customize/config.html |
3 | 3 |
|
4 | | -title: meshwell |
5 | | -author: Simon Bilodeau |
6 | | -copyright: "2023" |
7 | | -logo: ../meshwell.png |
| 4 | +title: My sample book |
| 5 | +author: The Jupyter Book Community |
| 6 | +logo: logo.png |
8 | 7 |
|
9 | 8 | # Force re-execution of notebooks on each build. |
10 | 9 | # See https://jupyterbook.org/content/execute.html |
11 | 10 | execute: |
12 | | - execute_notebooks: cache |
13 | | - timeout: -1 |
14 | | - allow_errors: true |
15 | | - # execute_notebooks: force |
16 | | - # execute_notebooks: "off" |
17 | | - # exclude_patterns: |
18 | | - # - '*notebooks/devsim/01_pin_waveguide*' |
| 11 | + execute_notebooks: force |
| 12 | + exclude_patterns: |
| 13 | + - 'gdsfactory_interface' |
19 | 14 |
|
| 15 | +# Define the name of the latex output file for PDF builds |
20 | 16 | latex: |
21 | | - latex_engine: pdflatex # one of 'pdflatex', 'xelatex' (recommended for unicode), 'luatex', 'platex', 'uplatex' |
22 | | - use_jupyterbook_latex: true # use sphinx-jupyterbook-latex for pdf builds as default |
| 17 | + latex_documents: |
| 18 | + targetname: book.tex |
23 | 19 |
|
24 | | -html: |
25 | | - home_page_in_navbar: true |
26 | | - use_edit_page_button: true |
27 | | - use_repository_button: true |
28 | | - use_issues_button: true |
29 | | - baseurl: https://github.com/joamatab/cookiecutter-pypackage-minimal |
| 20 | +# Add a bibtex file so that we can create citations |
| 21 | +bibtex_bibfiles: |
| 22 | + - references.bib |
30 | 23 |
|
31 | 24 | # Information about where the book exists on the web |
32 | 25 | repository: |
33 | | - url: https://github.com/simbilod/meshwell |
34 | | - path_to_book: docs # Optional path to your book, relative to the repository root |
35 | | - branch: main # Which branch of the repository should be used when creating links (optional) |
| 26 | + url: https://github.com/executablebooks/jupyter-book # Online location of your book |
| 27 | + path_to_book: docs # Optional path to your book, relative to the repository root |
| 28 | + branch: master # Which branch of the repository should be used when creating links (optional) |
36 | 29 |
|
37 | | -launch_buttons: |
38 | | - notebook_interface: jupyterlab |
39 | | - colab_url: "https://colab.research.google.com" |
| 30 | +# Add GitHub buttons to your book |
| 31 | +# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository |
| 32 | +html: |
| 33 | + use_issues_button: true |
| 34 | + use_repository_button: true |
40 | 35 |
|
41 | 36 | sphinx: |
42 | | - extra_extensions: |
43 | | - - "sphinx.ext.autodoc" |
44 | | - - "sphinx.ext.autodoc.typehints" |
45 | | - - "sphinx.ext.autosummary" |
46 | | - - "sphinx.ext.napoleon" |
47 | | - - "sphinx.ext.viewcode" |
48 | | - - "matplotlib.sphinxext.plot_directive" |
49 | | - - "sphinx_click" |
50 | | - - "sphinxcontrib.autodoc_pydantic" |
51 | 37 | config: |
52 | | - #autodoc_typehints: description |
53 | | - autodoc_type_aliases: |
54 | | - "ComponentSpec": "ComponentSpec" |
55 | | - nb_execution_show_tb: True |
| 38 | + html_js_files: |
| 39 | + - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js |
| 40 | + mime_types: |
| 41 | + application/vnd.plotly.v1+json: plotly |
56 | 42 | nb_custom_formats: |
57 | | - .py: |
| 43 | + .Rmd: |
| 44 | + - jupytext.reads |
| 45 | + - fmt: Rmd |
| 46 | + .py: # Add this line to include Python files |
58 | 47 | - jupytext.reads |
59 | 48 | - fmt: py |
0 commit comments