... | @@ -39,15 +39,16 @@ When you save your changes version, GitHub automatically creates a fork (if it d |
... | @@ -39,15 +39,16 @@ When you save your changes version, GitHub automatically creates a fork (if it d |
|
* 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.
|
|
* 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.
|
|
* Add canonical link to `vN.m-latest` branch theme layout.
|
|
```
|
|
```
|
|
<link rel="canonical" href="http://docs.mathjax.org/en/latest
|
|
<link rel="canonical" href="http://docs.mathjax.org/en/latest
|
|
{%- for word in pagename.split('/') -%}
|
|
{%- for word in pagename.split('/') -%}
|
|
{%- if word != 'index' -%}
|
|
{%- if word != 'index' -%}
|
|
{%- if word != '' -%}
|
|
{%- if word != '' -%}
|
|
/{{ word }}
|
|
/{{ word }}
|
|
{%- endif -%}
|
|
{%- endif -%}
|
|
{%- endif -%}
|
|
.html
|
|
{%- endfor -%}
|
|
{%- endif -%}
|
|
.html">
|
|
{%- endfor -%}
|
|
|
|
">
|
|
```
|
|
```
|
|
1. Commit & push pack to github: `git commit -a -m "(log message about the new release branch)" &&
|
|
1. Commit & push pack to github: `git commit -a -m "(log message about the new release branch)" &&
|
|
git push origin "vN.m-latest"`.
|
|
git push origin "vN.m-latest"`.
|
... | | ... | |