Skip to content

Conversation

shati-patel
Copy link
Contributor

@shati-patel shati-patel commented Apr 1, 2020

Summary

Closes https://github.com/github/semmle-docs/issues/21.

Changes in this PR

Original Updated Source Notes
QL handbook landing page QL language reference category overview Source Add intro, remove other text and links
About QL About the QL language Source Move into QL language category and add intro
QL specifications (landing page and child topics) deleted Source I haven't fully deleted the Sphinx project yet as I suspect that'll break the PR checks. Added a README note for now.

The other changes are formatting fixes and link updates.

Outstanding work

This restructuring will have some impact when we republish the documentation. I'll raise an issue with details, but I'm keeping note here for now:

  • Replace "QL language handbook" with "QL language reference" throughout docs.
  • Remove the QL spec from the Jenkins docs/sphinx build target.
  • Redirect "About QL"
  • Redirect the QL specifications and their landing page
  • Update https://help.semmle.com/QL/ql-reference-topics.html

@shati-patel shati-patel marked this pull request as ready for review April 1, 2020 12:24
@shati-patel shati-patel requested a review from jf205 as a code owner April 1, 2020 12:24
@shati-patel shati-patel removed the request for review from jf205 April 1, 2020 12:24
@shati-patel shati-patel changed the title [Migration prep] QL language map topic [Migration prep] Docs: "QL language reference" category Apr 1, 2020
Copy link
Contributor

@felicitymay felicitymay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reorganization looks good 💚. I found very little to comment on, and one thing is unconnected...

Regarding your notes on Outstanding work, when you raise an issue for "Update https://help.semmle.com/QL/ql-reference-topics.html", please also note that the navigation pages and searches for all CodeQL documentation need to be reviewed too.

Comment on lines 6 to 7
For more information about the important concepts and syntactic constructs of QL, see the individual reference topics such as :doc:`Predicates <predicates>` and :doc:`Types <types>`.
The explanations and examples help you understand how the language works, and how to write more advanced QL code.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether this is the right place for these links. Possibly we could leave the TOC in the sidebar to advertise the first set of links? Perhaps we could link to the specifications from the "Properties of QL" section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point. I've moved the links down to the "properties" section and changed them so they're relevant to the code example.

shati-patel and others added 2 commits April 1, 2020 15:21
@shati-patel
Copy link
Contributor Author

Thanks for the review and the suggestions, @felicitymay 😄

@shati-patel
Copy link
Contributor Author

Woops, I forgot to update the name that's displayed in the sidebar TOC and the page title!
Fixed in that last commit.

@felicitymay
Copy link
Contributor

It's a good thing you're on the ball today, I completely missed those issues 🙍
:shipit: when you're ready 😄

@shati-patel shati-patel merged commit 48a09ce into github:docs-preparation Apr 1, 2020
@shati-patel shati-patel deleted the 21-ql-language branch April 1, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants