Hi,
How about sphinx.builders.html.StandaloneHTMLBuilder.render_partial()?
It will generate HTML for specific node and its children.
Thanks,
Takeshi KOMIYA
2016年8月10日水曜日 8時48分41秒 UTC+9 Brad Miller:
>
> Hi,
>
> I've written a custom directive, which may contain other directives. All
> is being
How about this?
li .std-ref {
font-style: italic;
}
Or you can use container directive to specify a particular block
.. container:: decorated
* :ref:`hello`
* world
And then, you can decorate the hyperlink using CSS:
.decorated .std-ref {
font-style: italic;
}
I think there is no
Hi,
Unfortunately, there is no way to replace doctype. Because sphinx does not
support HTML5.
At this moment, using HTMl5 themes (ex. sphinx-bootstrap-theme) is a simple
way to do that.
Thanks,
Takeshi KOMIYA
2016年8月12日金曜日 1時13分32秒 UTC+9 Jason S:
>
> Is there a way to override to without chan
Hi,
Hmm... it might be a bug of alabaster theme.
The configuration is ignored in my environment too.
http://alabaster.readthedocs.io/en/latest/customization.html
BTW, html_logo works fine for me.
http://www.sphinx-doc.org/en/stable/config.html#confval-html_logo
Please use it instead.
Thanks,
Ta
Since Sphinx-1.3, Sphinx provides numfig feature as a built-in.
So no extensions are needed now.
It will go well if you remove the sphinx-numfig extension.
Thanks,
Takeshi KOMIYA
2016年8月12日金曜日 12時25分05秒 UTC+9 Warren Block:
>
> On Thu, 11 Aug 2016, Komiya Takeshi wrote:
>
> > Hi,
> > Do you use
On Thu, 11 Aug 2016, Komiya Takeshi wrote:
Hi,
Do you use sphinxtr/numfig.py? It appends "Figure n:" automatically.
https://github.com/jterrace/sphinxtr/blob/master/extensions/numfig.py#L124
Please tell me what extensions you are using.
The port is from here:
https://bitbucket.org/arjones6/sp
Hi,
Do you use sphinxtr/numfig.py? It appends "Figure n:" automatically.
https://github.com/jterrace/sphinxtr/blob/master/extensions/numfig.py#L124
Please tell me what extensions you are using.
Thanks,
Takeshi KOMIYA
2016年8月12日金曜日 5時27分45秒 UTC+9 Warren Block:
>
> On Thu, 11 Aug 2016, Peter Burd
OK it looks like there was a problem with my path, which I have resolved. Now
I'm seeing a different error, but I can address that elsewhere.
> On Aug 11, 2016, at 3:48 PM, Barbara Snyder wrote:
>
> I am trying to install Sphinx 1.4.5, primarily because a fix I requested
> (https://github.co
I am trying to install Sphinx 1.4.5, primarily because a fix I requested
(https://github.com/sphinx-doc/sphinx/pull/2605) was added in 1.4.3. I ran
the recommended command:
pip install -U Sphinx
but when I check what version I'm running, it still says 1.4, and I'm still
seeing the error that
That is exactly how I handle it as well:
.. only:: html
-
Indexes
-
* :ref:`genindex`
* :ref:`search`
On Wednesday, August 10, 2016 at 5:53:14 PM UTC-7, Paolo Cavallini wrote:
>
> Il 28/07/2016 12:38, Paolo Cavallini ha scritto:
>
> > Issue found (
On Thu, 11 Aug 2016, Peter Burdine wrote:
Did you define (or un-define) the numfig_format in your conf.py?
numfig_format = {'figure': 'Figure %s',
'table': 'Table %s',
'code-block': 'Code %s',
}
No, I tried this but these were all still added,
I cannot seem to get my logo to show up using the alabaster theme. I have
a logo called logo.png in _static. I have the following in my con.py:
html_theme = 'alabaster'
html_theme_options = {
'logo': 'logo.png', \
}
Is there anything else I need to do?
Thanks,
Ryan
--
You received this
Is there a way to override to without changing the
templates?
I am trying to work around an issue with
KaTeX https://github.com/Khan/KaTeX/issues/517 and the easy fix is to use
HTML5 (), but I would like to reserve the option of easiliy
changing templates without having to override them each
Did you define (or un-define) the numfig_format in your conf.py?
numfig_format = {'figure': 'Figure %s',
'table': 'Table %s',
'code-block': 'Code %s',
}
On Wednesday, August 10, 2016 at 5:53:14 PM UTC-7, Warren Block wrote:
>
> Trying to figure
If you do "from atelier.rstgen import table" and then add 'table' to
your jinja context, then you should be able to do it as follows::
.. jinja:: messages
{% table(['Message Code', 'Message name'], stc.items()) %}
http://atelier.lino-framework.org/api/atelier.rstgen.html
(I am the author
Thanks to all who replied. I'm now using the sphinx-jinja extension and it
works pretty well. I have no trouble using JSON files as input.
At first I had a little trouble getting the whitespace generated correctly,
but this was fixed by correctly using -%} and {%- when generating tables,
and ma
16 matches
Mail list logo