If you're using this template to create a publication:
-
Only edit these files:
index.ipynb- Your main publication content_variables.yml- Publication metadata (title, author, etc.)authors.yml- Author information and rolessrc/- Custom Python code for your publicationenv.yml- Dependencies for your publication
-
Leave these files alone:
_extensions/- Quarto extensions_freeze/- Generated execution results_site/- Generated website filesassets/- Template styling
That's it! Focus on creating great content in your notebook and let the template handle the rest.
notebook-pub-template/
├── index.ipynb # Your main publication content
├── _variables.yml # Publication metadata
├── authors.yml # Author information
├── src/ # Custom Python code
├── env.yml # Conda environment definition
├── _quarto.yml # Quarto configuration (rarely edit)
├── _freeze/ # Generated output (don't edit)
├── _extensions/ # Quarto extensions (don't edit)
├── _site/ # Generated website (don't edit)
├── assets/ # Template styling (rarely edit)
└── pyproject.toml # Python configuration (rarely edit)
-
index.ipynb: The primary file containing publication content. This Jupyter notebook contains both narrative text (in markdown cells) and executable code (in code cells). -
src/: Directory for Python modules that contain user code to be imported into your notebook. This helps keep the notebook clean by moving complex functionality into separate files.
-
_variables.yml: Contains publication metadata like title, repository information, and Google Analytics ID. This should be customized for the publication. -
authors.yml: Contains author information and contributor roles. The publishing team will help finalize this file near the end of the publication cycle. -
env.yml: Defines the Conda environment for the publication.
These files should not edited.
-
_extensions/: Contains Quarto extensions that provide special functionality:mcanouil/iconify/: Icon renderingpandoc-ext/abstract-section/: Used to nicely render the "Summary" in the top markdown cell of the notebook.quarto-ext/fontawesome/: Font icons
-
assets/arcadia.csl: This is a custom citation style file built for Arcadia. The details and motivation for this format can be found on this Notion page.
These files are generated and should not be edited directly.
-
_freeze/: Contains cached execution results from the notebook. This should be committed to the repository. -
_site/: Contains the generated static website. This should never be committed to the repository.
-
_quarto.yml: Controls the rendering process and website structure. Only edit when specifically instructed. -
assets/css/: Stylesheet files that control the publication appearance.
- Content Creation: Authors edit
index.ipynbwith their analysis and narrative - Rendering: Quarto converts notebooks to HTML using configurations in
_quarto.yml - Styling: CSS and HTML snippets in
assets/apply custom styling to the publication - Output: Final website is built in
_site/and execution cache in_freeze/ - Publishing: GitHub Actions automate the publication process when merged to the
publishbranch
For more information on how to create and publish content using this template, see: