New make target for building docs for mathjax.org separately.

This commit is contained in:
Casey W. Stark 2011-01-22 15:30:47 -08:00
parent a0216b3752
commit 40098b7b2f
3 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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>

View File

@ -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 {