-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to give path to srctree? #8
Comments
What do you want to do?
|
I have my documentation in the I tried relative path:
Did I miss something? |
Sorry, my fail .. there was a mess with the Do you like to pull from master and test it? / Thanks! |
Just tested it, it works. However, it breaks compatibility with what’s is in the kernel tree, not sure it’s right. It would be also nice to have an option in conf.py to set the srctree. By the way, you said that “something in kernel’s doc-build chain has been changed”, what changed exactly? What are your future plans for linuxdoc? |
Linuxdoc was not made to compile linux's kernel documentation (see below). When I started the project, the linux build chain to build the docs was simple but today there are a lot of perl scripts needed to do some "pre-compile" stuff and handle tasks that are typical for the kernel project but not for a common project (kernel development is special). E.g. the media tree needs some of these perl scripts and the sphinx command is very sprawling --> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/Makefile#n75 Today, if one wants a different theme for the kernel docs, I recommend to patch the sphinx theme in the kernel.
I don't have any concrete plans ... except fixing the sphinx C domain issues when sphinx has consolidated it. The kernel-doc markup (and the man builder) is just one feature of the linuxdoc package, other topics are Scalable figure and image handling or diff friendly table markup. I use this sphinx extensions in many projects.
If I have time, I will add it ... |
Thanks, I think the ticket can be closed. About adding the option, I will give it a try. |
I opened #9 for the configuration item. |
Hello,
the only way I found to give the path to srctree is to export the srctree variable before calling sphinx-build.
Is there a way to do it from the conf.py file?
Thanks.
Edit: s/srcdir/srctree/g
The text was updated successfully, but these errors were encountered: