Skip to content
Snippets Groups Projects
Select Git revision
  • 3091d9a2844c5e7460b5f674f6d831da51c08afa
  • main default protected
2 results

_config.yml

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    _config.yml 2.63 KiB
    #######################################################################################
    # A default configuration that will be loaded for all jupyter books
    # See the documentation for help and more options: 
    # https://jupyterbook.org/customize/config.html
    
    #######################################################################################
    # Book settings
    title                       : PG Test  # The title of the book. Will be placed in the left navbar.
    author                      : DTU Compute  # The author of the book
    copyright                   : "2024"  # Copyright year to be placed in the footer
    logo                        : logo.png  # A path to the book logo
    
    # Only build table of content _toc.yml files
    only_build_toc_files: true
    
    # Information about where the book exists on the web
    repository:
    #  repository_provider: https://lab.compute.dtu.dk/
      url: https://lab.compute.dtu.dk/mcla/pgtest  # Online location of your book
    #  path_to_book: "pg_cs"  # Optional path to your book, relative to the repository root
    #  branch: "main" # Which branch of the repository should be used when creating links (optional)
    
    # Add GitHub buttons to your book
    # See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
    #html:
      use_issues_button: false
      use_repository_button: false
    
    launch_buttons:
      notebook_interface: "classic" # or  "jupyterlab"
      binderhub_url: "https://notebooks.gesis.org/binder/"
    #  colab_url: "https://colab.research.google.com"
    #  thebe                  : true # husk jupyterlite
    
    parse:
      myst_enable_extensions:
        - amsmath
        - colon_fence
        # - deflist
        - dollarmath
        # - html_admonition
        # - html_image
        - linkify
        # - replacements
        # - smartquotes
        - substitution
        - tasklist
      myst_url_schemes: [mailto, http, https] # URI schemes that will be recognised as external URLs in Markdown links
      myst_dmath_double_inline: true  # Allow display math ($$) within an inline context
    
    # Force re-execution of notebooks on each build.
    # See https://jupyterbook.org/content/execute.html
    execute:
      execute_notebooks: cache
    
    # Add a bibtex file so that we can create citations
    bibtex_bibfiles:
      - references.bib
    
    # Define the name of the latex output file for PDF builds
    # latex:
    #   latex_documents:
    #     targetname: book.tex
    
    # Sphinx extentions
    sphinx:
      recursive_update: true
      extra_extensions:
      - sphinx_toolbox.assets
      config: