-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Documentation rework #675
Comments
@pfebrer I am particular eager to here about your take on the nbsphinx vs ipython directives. I am a bit annoyed that searching for the notebooks doesn't work seamlessly... but... |
I find it much easier to write documentation in notebooks. Could you give an example of the searching problem? The only problem that I noticed for now is that names for functions/classes inside the notebook are not linked to the rest of the docs. |
Try and search for
the context of the search is just not usable, and it is because of the representation of the full notebook... And as you say the links to the rest of the document is very important (IMHO)! |
Hmm that is plotly's javascript for the representation of the plot, not the notebook internals. Perhaps there are ways to avoid the search on that part. Also now the whole plotly javascript library is included for each plot, if we could find a way to just include it once at the top (outside the notebook) it would make the pages much lighter. Also it might make it easier to make sphinx avoid that part when searching. |
which is annoying for the end user when searching for context ;) |
I think this requires some work to bypass. |
Yes, but that would also be there if the plot is generated with an ipython directive. I'll try to fix it later. |
Hey guys, I agree with this "I kind of like the pandas site based on pydata-sphinx-theme which has nice blocks here and there", as indeed, that kind of look appears as very structured and, consequently, easy to find what one is searching. I agree that part of the difficulty of the current documentation is finding what one needs at a particular time, and it is also true that the search engine does not work super well, because it shows many entries that do not seem to be uniquely the class that is being searched. Finally, I also think that, at some point, having some sort of organization tree of sisl's classes/methods showing how everything is connected might also be useful. Part of the difficulty of the code (and documentation) is the (increasing) complexity of the thing, but having an overall view of how the different parts are connected in a panel-type view could help a lot the initial user to get a good qualitative picture of what sisl does. This of course, I guess should be done for the long term, as it seems to me it would require a significant amount of work. My aim is to get in now seriously with sisl, but that also means I have a huge amount to learn... In the meantime I will try to help out as much as possible, but apologize if my contribution to all this (programming-wise) is, for now, limited. :-) |
Thanks Isaac! Input is most welcome, as always! Ok, we can start playing around with some stuff, for starters we could play with the |
It's just that I don't find it better. In fact I find it harder to read and navigate, being all white, without any visual guides for the brain. But if everyone thinks it is better, what can I say 😅 |
It has a dark-mode (which I kind of prefer) |
we can start with the basic pydata-sphinx-design principles, which shouldn't affect the theme, just the looks. Then we can always play afterwards. |
It looks nice! I would remove the "to be filled". Just leaving a blank space (without even the user guide title) may be better. SIESTA's documentation was also full of places that only said "TODO" and it looks very bad and is frustrating for the user. |
will be there in the next uploaded version |
And we are live!!! :) |
This is now fixed in sphinx! I created spatialaudio/nbsphinx#777, but it was a |
AMAZING! |
We need to rework the documentation. This has been a long-standing wish, by everybody... :)
The purpose of this issue is to track documentation progress,
and to propose new documentation ideas.
It may take a long time to finalize, due to the limited amount of time we
have, but I hope that as many people can join in when we have a good picture of things, and contribute content.
This issue directly influences these issues:
Here is a list of things that can be tracked, individually
pydata-sphinx-theme
which has nice blocks here and there (can be done using onlysphinx-design
)sphinx-book-theme
(pandas usespydata-sphinx-theme
which is based onsphinx-book-theme
.sisl
can do for post-processing DFT datasisl
can do for tight-binding calculationsGeometry
class focus, how to manipulate, sort, use categories, etc.SparseOrbital
class focus, how to append, add, sub etc.It should be made clear here that all of these methods adheres to all
Hamiltonian
,DensityMatrix
etc.Sile
's.Have a look at other codes API structure, there is a lot of glue text to link the sections together,
sisl
misses that completely.ipython
directives, instead ofnbsphinx
?ipython
advantages includes, better search functionality, smaller, and faster documentation build timesIt also has the more familiar sphinx directives which can be used directly in the code.
nbsphinx
advantages includes, direct download of the notebook (really nice), it can still be searched, but the notebooks has some problems creating links to the API documentation, which is really annoying. (I don't know if this can be fixed somehow)The working plan would be:
The text was updated successfully, but these errors were encountered: