QuantEcon / QuantEcon/quantecon-book-theme

Should mathjax get loaded into Sphinx rather than in layout.html?

Open
#172 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
56
Forks
24
Avg merge
4h 33m
Merged PRs (30d)
4

Description

Maybe we should load our custom tex macros

https://github.com/QuantEcon/quantecon-book-theme/blob/a3d0d64096b011a808a7af0c72b84f5db43ba0ae/quantecon_book_theme/layout.html#L9

into sphinx.config.mathjax3_config rather than include them in layout.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with layout.html at the linked lines and inspect how the theme exposes sphinx.config.mathjax3_config. Confirm where the custom TeX macros are currently loaded, then move that configuration to Sphinx and verify that the macros still render correctly in the documentation.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.