+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

chore: Re-structure Website #3466

Merged
merged 7 commits into from
Oct 21, 2022
Merged

chore: Re-structure Website #3466

merged 7 commits into from
Oct 21, 2022

Conversation

MichaReiser
Copy link
Contributor

@MichaReiser MichaReiser commented Oct 20, 2022

This PR restructures our Website by:

  • Removing the dead careers link
  • Moving the API documentation into the footer
  • Splitting out a new Docs page (inspired by Tailwind, Parcel, Eslint, ...)

Improving the layout by

  • Using the --primary-color --primary-color in dark mode and the color3 in light mode for the active link in the TOC. --primary-color doesn't work in the light mode because it has too little contrast.
  • Using font-weight: bold for the main titles in the TOC

The PR includes some fixes:

  • Enable the TOC for blog posts (requires change the header to h2 and adding an id.
  • Add the DESCRIPTION_END marker to only render the header of the rome formatter release blog post in the overview

I further made some improvements to the content.

Long term

I think we want to move to a multi-page documentation where we have a page per section. This gives us more layouting option (and e.g. allows to directly link to the lint rules in the docs TOC). However, I don't know how to achieve this with our current website easily.

@MichaReiser MichaReiser added the A-Website Area: website and documentation label Oct 20, 2022
@MichaReiser MichaReiser added this to the 10.0.0 milestone Oct 20, 2022
@MichaReiser MichaReiser requested a review from a team October 20, 2022 16:13
@netlify
Copy link

netlify bot commented Oct 20, 2022

Deploy Preview for rometools ready!

Name Link
🔨 Latest commit c4bc89e
🔍 Latest deploy log https://app.netlify.com/sites/rometools/deploys/635252e7c9914a0009da34ae
😎 Deploy Preview https://deploy-preview-3466--rometools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@MichaReiser MichaReiser force-pushed the webiste/improvements branch 4 times, most recently from c28019a to 0b9bd56 Compare October 20, 2022 16:33
This PR restructures our Website by:

* Removing the dead careers link
* Moving the API documentation into the footer
* Splitting out a new `Docs` page (inspired by Tailwind, Parcel, Eslint, ...)

Improving the layout by

* Using the `--primary-color` for the active link in the TOC
* Using `font-weight: bold` for the main titles in the TOC

The PR includes some fixes:
* Enable the TOC for blog posts (requires change the header to `h2` and adding an id.
* Add the `DESCRIPTION_END` marker to only render the header of the rome formatter release blog post in the overview

I further made some improvements to the content.

## Long term

I think we want to move to a multi-page documentation where we have a page per section. This gives us more layouting option (and e.g. allows to directly link to the lint rules in the docs TOC). However, I don't know how to easily achieve this with our current website.
@MichaReiser MichaReiser requested a review from leops as a code owner October 21, 2022 07:29
@MichaReiser MichaReiser temporarily deployed to netlify-playground October 21, 2022 07:29 Inactive
@ematipico
Copy link
Contributor

I can see that the "Getting Started" section is repeated in the home page and the "Docs" page. Is it intentional?

@github-actions
Copy link

github-actions bot commented Oct 21, 2022

@MichaReiser MichaReiser temporarily deployed to netlify-playground October 21, 2022 07:38 Inactive
@MichaReiser
Copy link
Contributor Author

I can see that the "Getting Started" section is repeated in the home page and the "Docs" page. Is it intentional?

Yes it's intentional but ideally, it shouldn't. The way I envision it is to have a short intro at the top of the page that has a call to action button "Get started". But that requires new content for the start page that I don't have right now. Do you know of a "minimum effort" way I could accomplish the same without repeating?

@MichaReiser MichaReiser temporarily deployed to netlify-playground October 21, 2022 07:48 Inactive
@MichaReiser MichaReiser temporarily deployed to netlify-playground October 21, 2022 07:50 Inactive
@MichaReiser MichaReiser temporarily deployed to netlify-playground October 21, 2022 08:04 Inactive
@MichaReiser MichaReiser temporarily deployed to netlify-playground October 21, 2022 08:06 Inactive
@MichaReiser MichaReiser merged commit 94d4e3d into main Oct 21, 2022
@MichaReiser MichaReiser deleted the webiste/improvements branch October 21, 2022 08:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Website Area: website and documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载