Documentation build procedure #8051
-
I tried to build documentation following the docs here:https://github.com/DIRACGrid/DIRAC/blob/4d98c990df0602cc627d8a36a399ec49d5e2f1c3/docs/README It looks outdated. After correcting line 5 to read
This one is also worrying:
It looks like I'm using incorrect @andresailer , what is the correct procedure to build the docs ? The test above was done with an up-to-date integration branch. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Hi @martynia This line is wrong in the documentation: - export PYTHONPATH=$PWD/diracdoctools:$PYTHONPATH
+ export PYTHONPATH=$PWD:$PYTHONPATH Can you try with that? |
Beta Was this translation helpful? Give feedback.
-
OK,
The first error is not there anymore, however the next one is still there: There are more errors, some are DiracX related. Do I need to checkout DiracX as well ?? cheers, JM |
Beta Was this translation helpful? Give feedback.
-
Build finished. The HTML pages are in build/html. I used a client/UI from the last hackathon && my integration branch. Followed the new instructions.
Can't tell how it affects the docs. |
Beta Was this translation helpful? Give feedback.
I am afraid
DIRAC UI
sounds like a gridpp'ism.Here we call this a
Client
cf. https://github.com/orgs/DIRACGrid/projects/22?pane=issue&itemId=91452213 ?But apparently the phrase "appropriate" is also not clear...
"Appropriate" means appropriate for the version of the documentation you want to build. You cannot build the documentation for integration with a v8 client. In fact, you need a client that is exactly as the documentation you want to build.
Therefore you need to run
in you checked out folder of DIRAC to update (among other things) the
console_scripts
.Like written here https://dirac.readthedocs.io/en/latest/DeveloperGuide/DevelopmentEnvironment/Develope…