Urgency of updating Mercurial website and initiate https://mercurial-scm.readthedocs.io ?

Raphaël Gomès raphael.gomes at octobus.net
Thu Jan 2 10:35:10 UTC 2025


I honestly think that it looks great and is already much better than 
what we have now. We could almost already replace the main site with 
this now and be better off for it, since the guide in the existing 
website is quite outdated.

I'm not sure about the documentation for evolve, topic and hg-git, maybe 
someone else can answer.

I have a few pieces of end-user feedback as well as code feedback, which 
I have left on the newly created MR¹.

[1] https://foss.heptapod.net/mercurial/hg-website/-/merge_requests/2

Thanks again.

On 12/28/24 10:38 PM, PIERRE AUGIER wrote:
> I worked on a draft using Sphinx which can be seen here https://mercurial.pages.heptapod.net/hg-website/topic/default/with-sphinx/index.html
>
> For now, it is very much inspired from the current website and it's not beautiful. However, the sources (https://foss.heptapod.net/mercurial/hg-website/-/tree/topic/default/with-sphinx) are much simpler than the current website, so it is easier to maintain. Another advantage is that there is no mention of python 2.3 :-)
>
> There is a documentation produced from `hg help` rst texts (https://mercurial.pages.heptapod.net/hg-website/topic/default/with-sphinx/_generated/commands.html and https://mercurial.pages.heptapod.net/hg-website/topic/default/with-sphinx/_generated/topics.html).
>
> I have a question about the documentation of commands provided by evolve, topic and hg-git. Is there a simple way to get the raw docstring from Python ?
>
> For the core commands and topics I use https://foss.heptapod.net/mercurial/hg-website/-/blob/topic/default/with-sphinx/source/util_hg_website.py but there might be a better way that would also work for commands and topics provided by external extensions.
>
> Pierre
>
> ----- Mail original -----
>> De: "Pierre-Yves David" <pierre-yves.david at octobus.net>
>> À: "PIERRE AUGIER" <pierre.augier at univ-grenoble-alpes.fr>, "Mercurial Devel" <mercurial-devel at mercurial-scm.org>
>> Envoyé: Samedi 21 Décembre 2024 16:45:49
>> Objet: Re: Urgency of updating Mercurial website and initiate https://mercurial-scm.readthedocs.io ?
>> On 12/20/24 15:47, PIERRE AUGIER wrote:
>>> ----- Mail original -----
>>>> De: "Pierre-Yves David"<pierre-yves.david at octobus.net>
>>>> À: "PIERRE AUGIER"<pierre.augier at univ-grenoble-alpes.fr>, "Mercurial
>>>> Devel"<mercurial-devel at mercurial-scm.org>
>>>> Envoyé: Vendredi 20 Décembre 2024 15:34:33
>>>> Objet: Re: Urgency of updating Mercurial website and
>>>> initiatehttps://mercurial-scm.readthedocs.io ?
>>>> Why do you need a new repository for that? I think we can reuse the
>>>> existing website repository for the new version of the repository.
>>> Because I was thinking that Mercurial maintainers want to
>>> keephttps://www.mercurial-scm.org/ and that I could propose something else
>>> hosted somewhere else.
>>>
>>> Ifhttps://www.mercurial-scm.org can be static (I think it can), I can also
>>> propose something to replace it. However, I have to admit that I don't know
>>> anything about web things. I just know how to produce documentation websites
>>> based on Sphinx, myst and Jupyter. It would make sense to use such tools
>>> because there is a lot of content in Mercurial source in rst and Sphinx knows
>>> how to render that. For a project with not so much man power, it could make
>>> sense to go in this direction.
>>
>> A good option for smaller iterative steps might be to start with this
>> documentation focused "section" and link to it from the main site. Then
>> update the rest of the main site. It would allow you to focus on what
>> you are familiar with for now.
>>
>> As far as I understand, Raphaël is currently the one with most interest
>> and knowledge about website, so I'll let him chime in when he is back
>> from vacation.
>>
>>
>>> I could reusehttps://foss.heptapod.net/mercurial/hg-website but there would be
>>> first a big commit to remove everything :-) So it might make sense to start in
>>> a new repo. I could also use a new name branch
>>> inhttps://foss.heptapod.net/mercurial/hg-website. What do you think?
>> We can start in a topic there, and decide if we want it to be named
>> branch while it settle later.
>>
>> --
>> Pierre-Yves David
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list