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

Restructure and Update Documentation #987

Merged
merged 2 commits into from
Mar 2, 2020

Conversation

alex-mckenna
Copy link
Contributor

@alex-mckenna alex-mckenna commented Jan 8, 2020

This PR continues the work from #980 by updating the documentation for Clash on readthedocs. The documentation now contains the following contents, which should be valid for the current version of Clash:

  • General information
  • Installation and an example circuit
  • References to the compiler flags (fixes Better Documentation for Clash Flags #951)
  • Information about important parts of the standard library
  • The changelog for the project

To prevent duplication of things like installation instructions, changelog etc. these are included into the documentation from the toplevel directory (as GitHub does not support include directives in reStructuredText files). This means the toplevel files are changed from Markdown to reStructuredText.

Still to do:

  • Update the release notes with what's new in Clash 1.0
  • Finish the FAQs with differences between Clash and other tools
  • Describe the difference between (:>) and Cons for Vec n a (fixes Document differences between :> and Cons #968)
  • Describe the -fclash-old-inline-strategy flag
  • Put the QBayLogic logo on the docs page, maybe make the colour scheme orange Let's develop a logo first :P

@alex-mckenna
Copy link
Contributor Author

alex-mckenna commented Feb 27, 2020

Given this PR appears to be getting a bit lost, I'm going to suggest merging what exists currently and going back for any other changes later.

EDIT This branch rendered lives at https://clash-lang.readthedocs.io/en/readthedocs-writethedocs/

@alex-mckenna alex-mckenna marked this pull request as ready for review February 27, 2020 10:53
WIP.

I want to structure the documentation into parts that affect
different users, and provide a more intuitive way to drill down to
topics different types of user will be interested in. The main areas
I see so far are

  * general info (what is the project, license, FAQ etc.)
  * how to use clash / clashi
  * how to develop using clash language
  * advanced topics (how can I be a clash power user)
  * information about the community, contributing etc.
Copy link
Member

@martijnbastiaan martijnbastiaan left a comment

Choose a reason for hiding this comment

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

I'm happy. @christiaanb could you double check the FAQ answers I added in the second commit of this PR?

@martijnbastiaan martijnbastiaan force-pushed the readthedocs-writethedocs branch 3 times, most recently from 61f3d4b to 76dc4a1 Compare March 2, 2020 10:14
@martijnbastiaan martijnbastiaan merged commit 780665f into master Mar 2, 2020
@martijnbastiaan martijnbastiaan deleted the readthedocs-writethedocs branch March 2, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document differences between :> and Cons Better Documentation for Clash Flags
2 participants