diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index d0669e2e..6ef9cba2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -190,10 +190,13 @@ Open issues labeled are small, self-contained tasks that say where to start and when they are done; [help wanted](https://github.com/VectorDB-NTU/RaBitQ-Library/labels/help%20wanted) issues are larger. The [roadmap issue](https://github.com/VectorDB-NTU/RaBitQ-Library/issues/220) -lists the goals for the next releases. Comment on an issue before starting so work -is not duplicated. When claiming a code issue, say how you will verify the change -locally, such as the tests or benchmark you will run. A maintainer may unassign an -issue when review feedback goes unanswered. +lists the goals for the next releases. Comments do not reserve an issue: it stays +open to everyone until a PR is merged. To work on one, open a draft PR once you +have code and report the local results of the tests or benchmark the issue asks +for. For larger changes, you can first comment with your approach to get early +feedback. Contributors with a merged PR may ask to be assigned. When several PRs +address the same issue, the first to pass review is merged. A maintainer may +unassign an issue when review feedback goes unanswered. ## Feedback and further reading diff --git a/docs/docs/javascripts/mathjax.js b/docs/docs/javascripts/mathjax.js new file mode 100644 index 00000000..11841da4 --- /dev/null +++ b/docs/docs/javascripts/mathjax.js @@ -0,0 +1,13 @@ +// MathJax 3 settings for pymdownx.arithmatex in generic mode. +window.MathJax = { + tex: { + inlineMath: [["\\(", "\\)"]], + displayMath: [["\\[", "\\]"]], + processEscapes: true, + processEnvironments: true, + }, + options: { + ignoreHtmlClass: ".*|", + processHtmlClass: "arithmatex", + }, +}; diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 7fcb5822..9ea5a27f 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -93,7 +93,8 @@ markdown_extensions: - attr_list - footnotes - md_in_html - - pymdownx.arithmatex + - pymdownx.arithmatex: + generic: true - pymdownx.details - pymdownx.highlight: anchor_linenums: true @@ -107,7 +108,8 @@ extra_css: - stylesheets/extra.css extra_javascript: - - https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML + - javascripts/mathjax.js + - https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-mml-chtml.js extra: social: diff --git a/docs/requirements.txt b/docs/requirements.txt index d3504c7a..a107dffe 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,2 @@ mkdocs-material==9.7.7 +pymdown-extensions==13.1