Good looking documentation page for HTML5.
- User can navigate to any html tags through navbar.
- The navbar shows currently selected page.
- Code highlighting.
- Responsive.
- React
- Next.js
- React hooks
- react-responsive
- Because it's server rendered, initial pageload is faster but navigating to different pages surely does take longer because of network requests.
- Next.js supports static site building now. As long as components don't fetch initial props through api requests, nextjs intelligently converts the app into static site when building and bundling the app 💪
- Next.js supports same file stlye changes with <style jsx> tags, very convenient.
- Good SEO
- W3Schools for documentation texts.
- Amazing official docs by Zeit team.
- react-highlight (kind of wish they had smaller bundle sizes though)
- zeit now for CD
-
Clone the repo
git clone https://github.com/shimphillip/html5-documentation.git cd html5-documentation
-
Install the dependencies
yarn install
or
npm install
-
Start a development server
yarn dev
or
npm run dev
-
Build for production
yarn build
or
npm run build