New make target for building docs for mathjax.org separately.
This commit is contained in:
parent
a0216b3752
commit
40098b7b2f
|
@ -41,6 +41,11 @@ html:
|
|||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||
|
||||
html-mathjax-site:
|
||||
$(SPHINXBUILD) -b html -A for_site=True $(ALLSPHINXOPTS) $(BUILDDIR)/html-mathjax-site
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html-mathjax-site."
|
||||
|
||||
dirhtml:
|
||||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
||||
@echo
|
||||
|
|
|
@ -145,6 +145,7 @@
|
|||
{%- block extrahead %} {% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% if for_site %}
|
||||
<div id="wrapper">
|
||||
<div id="header">
|
||||
<div id="branding" role="banner">
|
||||
|
@ -194,6 +195,7 @@
|
|||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{%- block header %}{% endblock %}
|
||||
|
||||
{%- block relbar1 %}{{ relbar() }}{% endblock %}
|
||||
|
@ -240,6 +242,8 @@
|
|||
{%- endif %}
|
||||
</div>
|
||||
{%- endblock %}
|
||||
</div>
|
||||
{% if for_site %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
@import url("basic.css");
|
||||
|
||||
{% if for_site %}
|
||||
|
||||
/* style copied over from http://mathjax.org/ for the header */
|
||||
|
||||
body {
|
||||
|
@ -161,6 +163,8 @@ div.menu li {
|
|||
margin: 0 auto;
|
||||
}
|
||||
|
||||
{% endif %}
|
||||
|
||||
/* -- page layout ----------------------------------------------------------- */
|
||||
|
||||
body {
|
||||
|
|
Loading…
Reference in New Issue
Block a user