... | ... | @@ -37,6 +37,17 @@ When you save your changes version, GitHub automatically creates a fork (if it d |
|
|
* the edit-on-github link `_templates/sourcelink.html` to point to the `current` branch. ((**pkra:** this may be unnecessary, I think rtfd now adds it to the sidebar and this might not have any effect anymore))
|
|
|
* the theme layout `_themes/sphinx-bootstrap/layout.html`: add the version-warning to the quick-links:
|
|
|
* After `<li><strong>Quick links</strong></li>` insert `<li> <a class="btn btn-mini btn-success" href="http://docs.mathjax.org/">Newer version available!</a> </li>` (this may seem counter-intuitive, but `latest` is designed to be more up-to-date.
|
|
|
* Add canonical link to `vN.m-latest` branch theme layout.
|
|
|
|
|
|
<link rel="canonical" href="http://docs.mathjax.org/en/latest
|
|
|
{%- for word in pagename.split('/') -%}
|
|
|
{%- if word != 'index' -%}
|
|
|
{%- if word != '' -%}
|
|
|
/{{ word }}
|
|
|
{%- endif -%}
|
|
|
{%- endif -%}
|
|
|
{%- endfor -%}
|
|
|
.html">
|
|
|
1. Commit & push pack to github: `git commit -a -m "(log message about the new release branch)" &&
|
|
|
git push origin "vN.m-latest"`.
|
|
|
1. Commit & push pack to github: `git commit -a -m "(log message about version change)" &&
|
... | ... | |