On Sun, Jul 19, 2020 at 10:07 AM Carlos Ochoa Gómez wrote:
>
> I need that but be able to put the date in one position. In other words, 
> having control over the date.

That's indeed not that simple ...

But you can probably do what you want with a custom HTML template.

The sphinx_last_updated_by_git extension modifies the "last_updated"
variable, see https://www.sphinx-doc.org/en/master/templating.html#last_updated.

In your custom HTML template, you can then use this:

    {{ last_updated }}

cheers,
Matthias

>
> Regards
>
> CARLOS OCHOA GÓMEZ
> Técnico Autónomo Informático
> Enviado desde mi smartphone
> Tfno: 679189284
>
> El dom., 19 jul. 2020 10:04, Carlos Ochoa Gómez <carlos8ago...@gmail.com> 
> escribió:
>>
>> That's ok thanks
>>
>> CARLOS OCHOA GÓMEZ
>> Técnico Autónomo Informático
>> Enviado desde mi smartphone
>> Tfno: 679189284
>>
>> El dom., 19 jul. 2020 9:55, Matthias Geier <matthias.ge...@gmail.com> 
>> escribió:
>>>
>>> On Sat, Jul 18, 2020 at 8:09 PM Carlos Ochoa Gómez wrote:
>>> >
>>> > Dear sir, your extension is fine but I find it very complicated for what 
>>> > I want. I will continue looking for something simpler. Regards
>>>
>>> Thanks for trying it out!
>>>
>>> Can you please tell me what exactly was too complicated?
>>> Maybe I can improve the extension?
>>>
>>> Ideally, it shouldn't be "very complicated", it should actually be
>>> very simple, only three steps:
>>>
>>> 1. Install the Python package sphinx-last-updated-by-git
>>> 2. Add 'sphinx_last_updated_by_git' to extensions in your conf.py
>>> 3. Run Sphinx!
>>>
>>> That's literally the minimum you have to do to use any Sphinx extension at 
>>> all.
>>>
>>> Did something not work as expected?
>>>
>>> cheers,
>>> Matthias
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "sphinx-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to sphinx-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sphinx-users/CAFesC-dc%2Bq0VZXOiKr_g_2my09emvXh2jG04tVa9_TynYnKzQA%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sphinx-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/CABQSU1viRHrRjQ8dpAUc6%3De-0%3DE8AKRb8yHVojmT_C08m5SKcQ%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAFesC-c2ZaSpj2%3D_im9AaLJRNMg9UQDy1MjcZVhH2wcWJAChhg%40mail.gmail.com.

Reply via email to