Skip to content

Update hyperlinks in documentation#2495

Draft
evagroenendijk wants to merge 4 commits into
masterfrom
documentation-links
Draft

Update hyperlinks in documentation#2495
evagroenendijk wants to merge 4 commits into
masterfrom
documentation-links

Conversation

@evagroenendijk

Copy link
Copy Markdown
Contributor

No description provided.

@evagroenendijk evagroenendijk linked an issue Jul 7, 2026 that may be closed by this pull request
@evagroenendijk evagroenendijk marked this pull request as draft July 7, 2026 13:01
@evagroenendijk

Copy link
Copy Markdown
Contributor Author

@felixhekhorn I decided to also fix the equation references in https://docs.nnpdf.science/theory/PTevol.html so in the end it will still take some time

@felixhekhorn

Copy link
Copy Markdown
Contributor

wait a moment: I suggest to drop that page as is and instead point to https://eko.readthedocs.io, where all of this is already explained in great detail

@scarlehoff do you agree?

@felixhekhorn

Copy link
Copy Markdown
Contributor

cc #2288

@scarlehoff

Copy link
Copy Markdown
Member

It's the information exactly the same?

If yes, ok from me.

@evagroenendijk

Copy link
Copy Markdown
Contributor Author

@felixhekhorn Ah ok, I had not seen that in #2288 this stuff is already being done. Shall I check if the info is the same & drop it if yes, or leave it to #2288?

@felixhekhorn

Copy link
Copy Markdown
Contributor

It's the information exactly the same?

@felixhekhorn Ah ok, I had not seen that in #2288 this stuff is already being done. Shall I check if the info is the same & drop it if yes, or leave it to #2288?

all the evolution information is covered by EKO - and actually this page here is severely outdated, e.g. it does not discuss QED, that we use exact these days, or SV scheme B, so better we drop it. And yes, @evagroenendijk please drop it here and then tick off the relevant box over there

Instead, TMC - which has nothing to do with evolution - should point to https://yadism.readthedocs.io/en/latest/implementation/TMC.html ... aaand then that page is empty, but then we should fix that there, where it belongs. The current content can not be simply transferred since it uses Mellin space (which yadism is not doing). Also the implementation in yadism is more complex as we allow, e.g., different levels (/orders) if TMC. Note that the code documentation does have some explanation ...

Any way, don't forget the main purpose of this PR 🙃

@felixhekhorn felixhekhorn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I already said: updating the documentation is nice and good - but was not the intended task for this PR

-------------

`APFEL <https://apfel.hepforge.org/>`_ ('A PDF Evolution Library') is the PDF evolution code currently
`APFEL <https://github.com/scarrazza/apfel>`_ ('A PDF Evolution Library') is the PDF evolution code currently

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"currently used"? definitely not. Note that "Note that at the time of writing ..." has passed 🙃 -> replace with EKO. It can be a very short paragraph in my opinion, because EKO has it's detailed documentation. Drop APFEL as a whole. HOPPET can stay in the light of #2485 under "Other codes", though the content should also be cut down to the bare minimum such that it does not specify outdated information (e.g. by now HOPPET can also do N3LO)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would drop the file as a whole - and if you wish to keep the entry in the menu, which maybe is fine, point it directly to the EKO documentation.

TMC has nothing to do with evolution and in fact now that DIS is becoming less prominent, it only applies to this very specific set of observables

@@ -42,7 +42,7 @@ the subset that most truthfully reproduces the underlying probability distributi
Other codes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the pineline should be featured prominently here (again with a (very) short paragraph pointing to the relevant documentation https://nnpdf.github.io/pineline )

@felixhekhorn felixhekhorn added the documentation Issues and PRs related to documentation label Jul 9, 2026
@evagroenendijk

Copy link
Copy Markdown
Contributor Author

As I already said: updating the documentation is nice and good - but was not the intended task for this PR

Sure! That's why I did not look at the text, I just updated the links. Actually as far as the nnpdf documentation goes, I pushed all the changes I made already (I did not find any other deprecated links)

@felixhekhorn

felixhekhorn commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

As I already said: updating the documentation is nice and good - but was not the intended task for this PR

ehm, actually, looking at 28ae19b let me ask to be sure: is it clear what #572 wants to do? Specifically, we are not talking about any explicitly written URL in our documentation (like the ones you change in that commit) - we are talking about the automatic link generated by sphinx

I did not find any other deprecated links

(maybe this indicates we are not talking about the same thing 🙈 )

@evagroenendijk

Copy link
Copy Markdown
Contributor Author

As I already said: updating the documentation is nice and good - but was not the intended task for this PR

ehm, actually, looking at 28ae19b let me ask to be sure: is it clear what #572 wants to do? Specifically, we are not talking about any explicitly written URL in our documentation (like the ones you change in that commit) - we are talking about the automatic link generated by sphinx

I did not find any other deprecated links

(maybe this indicates we are not talking about the same thing 🙈 )

Ah okay, then indeed I misunderstood the issue...

@evagroenendijk

Copy link
Copy Markdown
Contributor Author

@felixhekhorn I think I can use this https://www.sphinx-doc.org/en/master/usage/extensions/linkcode.html then to solve the issue, would you agree? It can then point to the n3fit and validphys directories in the repository

@felixhekhorn

Copy link
Copy Markdown
Contributor

@felixhekhorn I think I can use this https://www.sphinx-doc.org/en/master/usage/extensions/linkcode.html then to solve the issue, would you agree? It can then point to the n3fit and validphys directories in the repository

not sure - this is the right direction, but then you would need to provide the mapping between name of "the thing" (function, class) and the URL yourself. I hope there are better solutions out there, which are already targeted at GitHub and do all the magic for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Issues and PRs related to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate github with the documentation

3 participants