-
Notifications
You must be signed in to change notification settings - Fork 657
Conversation
* Changed folder structure, did a bunch of cleanup and introduce a doc helper to compose markdown in markdown. * Added basic rome styling. * Added some more styling. * Added hero. * Added more padding at bottom * Added permalinks. * Made border radius consistent. * Added basic mobile view. * npm instead of yarn, which we already use in @romejs-web/frontend * Removed yarn-error.log from gitignore due to npm * Migrated to sass * Cleanup from migrating to sass * Rewrote parts in sass * Formatted sass * Do not bundle unused resources. * Split sass components in separate files. * Added config for HTML meta tags.
Woah, I like it! Haven't reviewed anything yet but I really like the design screenshots. |
@sebmck imo the only thing left in order to replace the Docusaurus build is a proper footer. Could you double check if I'm missing something? If not, I should get this done during the weekend. |
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.
I think this looks great. Some general questions and comments:
- Should the Installation section be combined with Getting Started, especially if users will be directed to NPM? The installation instructions will be one line and it feels odd to have them as their own top-level heading.
- I think we should have a "detail" page for each stable command (like Linting currently has). If a command isn't stable enough, it feels odd to even list it in the Getting Started section at all.
There's a separate section in #509 for "Linting", although it's not a seperate page. I agree with your first comment, the shorter the docs, the easier it gets for people to read through them. If agreed upon, we should merge that PR in here to avoid confusion. |
* Changed folder structure, did a bunch of cleanup and introduce a doc helper to compose markdown in markdown. * Added basic rome styling. * Added some more styling. * Added hero. * Added more padding at bottom * Added permalinks. * Made border radius consistent. * Added basic mobile view. * npm instead of yarn, which we already use in @romejs-web/frontend * Removed yarn-error.log from gitignore due to npm * Migrated to sass * Cleanup from migrating to sass * Rewrote parts in sass * Formatted sass * Do not bundle unused resources. * Split sass components in separate files. * Added config for HTML meta tags. * Proposing a different document format. * Fixing broken links. * Consistency across titles. * Update website/src/docs/Introduction.md Co-authored-by: Kevin Kelbie <[email protected]> * Update website/src/docs/Linting.md Co-authored-by: Kevin Kelbie <[email protected]> Co-authored-by: Kevin Kelbie <[email protected]>
We're getting to a point where the new documentation is good enough to be released. Although, I'd like to raise several questions that are worth discussing:
|
* Fixed hot reloading by no longer ignoring the docs folder but keeping them from building seperately by moving docs to _includes. * Simplified structure of the site. * Added footer. * Added sass variables.
If there will be others pages, i think we should use the top bar for that. And keep only table of contents in the sidebar. Or make a section in the side bar, for links that will lead to another page, so the user know what each type of link makes once you click! The top bar seems like a better solution. Generate the TOC on a build step in Eleventy would be great. |
@KevinKelbie it's because you can't go all the way down so the heading get close to the top and highlight |
Didn't really got this line. Clicking a toc link should close the sidebar? The content overlay when sidebar is open is done! Clicking outside the sidebar, closes! |
@EduardoLopes correct, I assume when someone clicks on a TOC item, they'll want to see the content afterwards. Why exactly would we need an event listener on touchstart? The click event handler is called on mobile too. Nice work! |
Dark mode is basically finished. I just need to find a place for the toggle button. Right now, it's in the footer. I think i'll place it at the bottom of the side bar. |
Should there be a dedicated section to testing? Documenting the built-in test framework api? |
Preferrably not. The only thing that should be documented is the linter which is the only part we will actively support and ensure compatibility across semver. Might be worth documenting the basics of the testing API for contributors though. |
- Only show the h2's that are children of the active h1
This link is hidden and only shows when on focus
I did my best to support screen readers. Would be nice if anyone here, with more experience on making web pages accessibly, review the website and point out if i'm missing something. The markdown compiler doesn't compile the content to semantic html. Each part with a heading should be separated by sections tags. But this is how github compiles markdown anyways, so i think there's no problems for screen readers?! i'm not sure This is the document structure right now:
|
Thank you so much for the work @EduardoLopes and @matvp91! I'm going to merge this so we can be more incremental with documentation changes and review. I'm going to let the site build and deploy to |
Current look
Still missing: