-
Notifications
You must be signed in to change notification settings - Fork 68
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
Link to the documentation index missing #125
Comments
|
So this was a separate page linked to from the documentation page? |
|
I just checked a 6.4 build, and the file with the index is build/html/genindex.html. The link used to be in white text on the right side in a thick horizontal blue line below the flags. |
|
All translations have the blue line with the index link. It is only on the main language (English) page that the blue line with the index link is missing. The following is the blue line for the German translation: When compiling the docs locally, the blue line shows up also for the main language "front" page: |
|
@jmckenna, could you have a look at this? I think the current situation is very unfortunate, as it makes navigating the documentation very difficult for those that use the default (English) version of the documentation. |
|
Update: That code comes directly after the table that contains the translation links (with flags). On mapserver.org, the code is not there. A lot of effort has been put into the MapServer documentation index, and it is a real shame that it is not available. With the large amount of documentation, having access to the index is essential! |
|
Hi @havatv I will take a look |
|
The current status is that I have fixed the default English page to include the navigation bar (apparently my fix helped another Sphinx community who was stuck on this for months, ha). But I haven't figured out yet why it won't appear on any of the translated pages. I did figure out why locally for my own builds I would have duplicate navigation bars. It turns out that Sphinx uses several default "layout.html" files, and I had to check a few of them locally on my own machine:
If you are a doc maintainer and you have duplicate navigation bars for local builds, I'd ask you just live with them for now, and be happy for now that travis-ci.org and mapserver.org has at least 1 navigation bar (for English). I will keep digging on this. Not easy, as unfortunately this is all done through travis-ci.org "cloud" builds. PS I hate the cloud. |
|
Thanks for the quick fix, @jmckenna! |
|
I've been looking into this issue recently. The "alabaster" theme became the default for Sphinx within the last year, and hides the relbar by default. See By explicitly setting the theme to classic (which is what was used by Sphinx previously) the bar comes back. There is also one at the bottom - this can be overriden in the MapServer layout.html if needed. |
|
indeed, that i why i mentioned alabaster earlier here (C/Python26/Lib/site-packages/alabaster-0.7.4-py2.6.egg/alabaster/layout.html). |
|
@jmckenna - looking at the alabaster theme it seems it is nearly all overridden anyway, so by bypassing that in the conf.py file the docs should build with the navigation bar on the travis-ci build? |
|
the issue before was making this all work both locally and on Travis, indeed I did spend much time on that. |
|
Let us see how it goes on Travis...... |
|
@geographika please check how your changes look on mapserver.org (Travis) now. Likely it is the same result and explanation as I said in my earlier Oct 21 comment. |
|
@jmckenna http://mapserver.org/ looks good for me now - at least it has the blue bar back underneath the title so you can navigate more easily between sections (and access the index). |
|
@geographika the blue bar was back, on mapserver.org, placed back through my Oct 21 changes. The only issue remaining was the blue bar on the translated pages. (in your case, you likely had both issues, as I mentioned back on Oct 21). |
|
in any case, the issue then and the issue now is the darn blue bar, only on translated pages, and only on Travis/mapserver.org So, the issue remains open :) |
|
Anyway I am fine if you want to close this, but in my mind the issue exists the same now as it did on Oct 21. Maybe I am wrong, I am often wrong :) |
|
Maybe all that is needed is a [build_translations] commit? |
|
darn Travis :) |
|
I'll try to build all translations on Travis now... |
|
translations are building now on travis: https://travis-ci.org/mapserver/docs/builds/167503564 |
|
@geographika can you check mapserver.org now? |
|
(i had to clear my browser cache) ok too many messages from me I guess! Cheers from Canada. |
|
Looks good now! |
|
True, I bet as I had been updating requirements.txt that a recent change killed it again for good ha (I also have Alabaster 0.7.9 locally). Thanks @geographika and great teamwork! Yikes this one was tricky. I think we can mark this as closed. (!!) Cross your fingers. |
There used to be an index available from the documentation page. Now I can't find it. Don't know when it disappeared.
An index is useful, and we have done a lot of work to add index entries, so it would be nice to get the index back.
The text was updated successfully, but these errors were encountered: