-
-
Notifications
You must be signed in to change notification settings - Fork 380
split up the changelog #1006
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
split up the changelog #1006
Conversation
153921c
to
35fd7b8
Compare
dc40ff6
to
260a069
Compare
I think we discussed splitting the changelog once before... the main disadvantage is that it breaks Ctrl+F to search all versions' changelogs. But now that it's in its own directory, we could do Google "site:dlang.org/changelog" searches. I'm not against the idea but it's a non-trivial change and should be approved by more people. |
be4fe27
to
06e7035
Compare
Made a thread on the forum: http://forum.dlang.org/post/thvnxyvvtqjrutzdugtf@forum.dlang.org |
1a52673
to
edab3c1
Compare
Moved the list to the site menu, as suggested by Steven Schveighoffer in the forum discussion. Unfortunately, issue 14717 makes it fall short. That will have to be fixed first. Legacy URLs like Preview: http://d-ag0aep6g.rhcloud.com/accordion/changelog/2.067.1.html |
PR to fix issue 14717: dlang/dmd#4799 |
please rebase |
@@ -23,3 +23,5 @@ Redirect 301 /dll.html http://wiki.dlang.org/Win32_DLLs_in_D | |||
Redirect 301 /htomodule.html http://wiki.dlang.org/Converting_C_.h_Files_to_D_Modules | |||
Redirect 301 /memory.html http://wiki.dlang.org/Memory_Management | |||
Redirect 301 /windows.html http://wiki.dlang.org/D_for_Win32 | |||
|
|||
RewriteRule ^changelog.html$ changelog/legacy.html [R=301,L] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be Redirect
? I'm not that well-versed in Apache configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use either. But we'll need to test if the ^
will work as expected, IIRC there were some issues with RewriteBase
.
Rebased. Preview is at http://d-ag0aep6g.rhcloud.com again. Issue 14717 has been fixed, so this is good to go from my side. |
I like it. The changelog page is too big, takes ages to compile, and ages to load. |
What about other anchors on the page? I just recently cleaned up the version anchors to be 2.067.0, there is still some legacy anchor new2067 or so. |
I guess that's possible. Will look into it.
legacy.html has both kinds of anchors. I.e. these two take you to the same link: |
Did the JS redirects. My JS-foo isn't that great, so someone should look over it. http://d-ag0aep6g.rhcloud.com/changelog.html#2.067.1 and |
bb5fd4c
to
676bce8
Compare
Updated for 2.068. I'd appreciate if we could get this over with. |
c62a6a2
to
6ddac3c
Compare
Ping? This has been sitting idle for more than a week now. It's still good to go from my side. |
This link currently works (unfortunately): |
Redirecting that one to |
This is completely broken because it still thinks that css and js files are under css/ and js/, they are now at ../css/ and ../js/ |
I'm not sure we need the entire changelog index in the sidebar. Instead, I suggest...
|
Apart from being unstyled, the per-version changelog pages appear to be all devoid of actual change logs. |
I don't know what's going on here. When I build it, those problems don't come up.
This started with something similar to that. The current layout was a suggestion from Steven Schveighoffer which people seemed to like (at least no one spoke up against it). Also, I don't see what a dedicated index page would buy us over having all versions in the sidebar. Having them in the sidebar, highlighting of the current page works trivially, and it acts as a "you are here" indicator in the changelog history. |
There's no mention of |
before this one:
|
Yup, swapped them around, and it seems to work now. Is it ok to rely on the order like this? |
I don't know, I don't think I agree with that. Having miles-long navigation is just poor UI. You shouldn't have to scroll the page to navigate around a website. The list is only going to get longer, as well. Do you know any other websites that do this? I think the sidebar should only list the latest few versions. Everything else's significance is mostly historical, and shouldn't be there any more than 1.x and 0.x changelogs should. |
The section can be collapsed, and "D reference" and "Books & Articles" force scrolling, too. But it's true that the changelog section is already longer than those and will only get even longer.
I wouldn't mind changing it back to a single item (or a few items) in the sidebar and a dedicated listing page. People didn't seem to like it, though. However, I think the main point was that the landing page of the changelog should be the latest entry rather than the listing, which should be doable. That would mean: clicking "Change Log" in the sidebar takes you to |
If there is a way to get to a prior version (any prior version) aside from actually scrolling the page down to that version via visual scan (current model), then I'm fine with it. A list of versions with clickable links to each version is a must somewhere, I don't care where, and I don't care how it works (either anchors or individual pages). Putting it on the sidebar, or making it its own page, whatever works for everyone else is fine with me with those requirements satisfied. |
a1f7369
to
af1b6fe
Compare
Found by doing grep -o -P "(href|src)=(\"[^\"]+\"|'[^']+')" web/changelog/*.html | grep -P -v "(href|src)=(\"|')\s*(https?://|irc://|\.\.|2\.\d\d\d(\.\d)?\.html|list\.html|#)"
af1b6fe
to
ccfe4f4
Compare
Did that. |
Looks nice. @andralex ? |
LGTM |
Much nicer than the long menu. |
Thanks for the very good work. |
Well done and thanks for persevering, @aG0aep6G. |
The per-version changelog files (
changelog/2.foo.dd
) have been extracted from the full log by this little ugly script: https://gist.github.com/aG0aep6G/014339e25fd39ae638f1.Preview: http://d-ag0aep6g.rhcloud.com/changelog/2.067.1.html