Skip to content
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

Remove NEWS.md from the PDF of the manual #36312

Merged
merged 2 commits into from
Jun 17, 2020
Merged

Remove NEWS.md from the PDF of the manual #36312

merged 2 commits into from
Jun 17, 2020

Conversation

ViralBShah
Copy link
Member

@ViralBShah ViralBShah commented Jun 16, 2020

This removes the NEWS.md link at the bottom of the first page of the
manual. Given that we link to it prominently on top of the page, I
feel this is ok.

This will remove Section II of the PDF manual, where the release notes
take 15 pages (because ofthe way markdown gets converted to PDF).

Partial fix for #35495

This removes the NEWS.md link at the bottom of the first page of the
manual. Given that we link to it prominently on top of the page, I
feel this is ok.

This will remove Section II of the PDF manual, where the release notes
take 15 pages (because ofthe way markdown gets converted to PDF).
@ViralBShah ViralBShah changed the title Partial fix for #35495 Remove NEWS.md from the PDF of the manual Jun 16, 2020
@ViralBShah ViralBShah added domain:docs This change adds or pertains to documentation docsystem The documentation building system labels Jun 16, 2020
@KristofferC
Copy link
Sponsor Member

KristofferC commented Jun 16, 2020

Won't this break the link to the release notes in the html version?

@ViralBShah
Copy link
Member Author

My understanding is that it won't generate the link to the release notes at the bottom of the page, but we still have the link to release notes on the top.

@ViralBShah
Copy link
Member Author

Verified. With this commit, the link at the bottom goes to "Getting Started" instead of "NEWS".

@ViralBShah
Copy link
Member Author

I'll merge this tomorrow unless there are objections.

@ViralBShah ViralBShah merged commit 43fd66c into master Jun 17, 2020
@ViralBShah ViralBShah deleted the vs/doc branch June 17, 2020 18:13
@ViralBShah
Copy link
Member Author

How often does the 1.6-Dev documentation on docs.julialang.org get generated/updated? The pdf there has a date of May 8.

@KristofferC
Copy link
Sponsor Member

KristofferC commented Jun 17, 2020

This removed the NEWS section from the menu when you click release notes:

image

Pretty much what I meant with #36312 (comment).

Felt like this was a pretty quick merge when the asked reviewer didn't have time to review and this PR changed significantly after one person looked at it. The PR now also does a lot more than what the PR title implies.

@ViralBShah
Copy link
Member Author

Please explain what you found misleading in the PR title. What more does it do than what it said?

I didn't realize the NEWS showed up in the menu - that's not how I understood your comment. That UI is quite strange - but anyways, I can add that back.

@KristofferC
Copy link
Sponsor Member

It seems like it changes some headings in the PDF now as well.

@ViralBShah
Copy link
Member Author

If something is wrong, let me know and I'll fix it in the PR I make to reinstate the release notes in the html version.

@KristofferC
Copy link
Sponsor Member

KristofferC commented Jun 17, 2020

The pdf on the latest docs (if it has updated) looks like:

image

I don't know if it looked like that before? Maybe it is an old pdf.

@ViralBShah
Copy link
Member Author

ViralBShah commented Jun 17, 2020

Where are you looking for the PDF on the latest docs? On docs.julialang.org, when I pick 1.6-dev, that PDF is quite old.

@KristofferC
Copy link
Sponsor Member

KristofferC commented Jun 17, 2020

Did it look fine on your locally built version?

@ViralBShah
Copy link
Member Author

I think it did. But I am building again to see what happens.

@ViralBShah
Copy link
Member Author

ViralBShah commented Jun 17, 2020

Before, there were 20 pages of Release notes, because of the way Markdown gets converted into latex. This removes the release notes from the PDF version, and merges the Introduction into the manual.

@ViralBShah
Copy link
Member Author

I think you have an old PDF. This is what it looks locally.
Screen Shot 2020-06-17 at 4 42 34 PM

@KristofferC
Copy link
Sponsor Member

Yeah, I just got the one from the website which I guess hasn't updated.

@ViralBShah
Copy link
Member Author

Right - it has the date of May 8, 2020. Something seems to have broken somewhere a while ago.

@ViralBShah
Copy link
Member Author

ViralBShah commented Jun 17, 2020

The reason you see all those sections empty is because the NEWS file was probably empty after we branched. But even when the Release notes exist, those sections often have very little text in them. So you have to scroll through almost 50 pages (many empty) from page 1 of the PDF to get to the manual.

@ViralBShah
Copy link
Member Author

I wonder if article would be better than the memoir latex documentclass which is what Documenter is using.

@ViralBShah
Copy link
Member Author

ViralBShah commented Jun 17, 2020

Follow-up PR: #36333

KristofferC pushed a commit that referenced this pull request Jun 25, 2020
* Partial fix for #35495

This removes the NEWS.md link at the bottom of the first page of the
manual. Given that we link to it prominently on top of the page, I
feel this is ok.

This will remove Section II of the PDF manual, where the release notes
take 15 pages (because ofthe way markdown gets converted to PDF).

* Better layout for the generated PDF

(cherry picked from commit 43fd66c)
@KristofferC KristofferC mentioned this pull request Jun 25, 2020
9 tasks
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
* Partial fix for JuliaLang#35495

This removes the NEWS.md link at the bottom of the first page of the
manual. Given that we link to it prominently on top of the page, I
feel this is ok.

This will remove Section II of the PDF manual, where the release notes
take 15 pages (because ofthe way markdown gets converted to PDF).

* Better layout for the generated PDF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docsystem The documentation building system domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants