A static website for the Inclusivity Bookshelf scheme — helping university departments become more inclusive communities through shared reading.
Live site: www.inclusivitybookshelf.com
Built with Docusaurus. Deployed automatically to GitHub Pages on every push to main.
# Install dependencies
npm install
# Start dev server (usually http://localhost:3000)
npm start
# Build for production
npm run build
# Preview the production build
npm run servesrc/
├── components/ # React components (Hero, Features, BookList, etc.)
├── css/
│ └── custom.css # Global CSS and Docusaurus theming
├── data/
│ └── bookshelves.ts # Data for the bookshelf gallery
├── pages/
│ └── index.mdx # Main page content (MDX)
└── theme/ # Theme overrides
static/
├── img/ # Images and favicons
└── bookshelves/ # Bookshelf photos
Main content lives in src/pages/index.mdx. The hero and features sections are built with React components found in src/components/.
- Push this repo to GitHub.
- Go to Settings → Pages.
- Under Source, select GitHub Actions.
- Under Custom domain, enter
www.inclusivitybookshelf.com. - Tick Enforce HTTPS.
- Configure your DNS:
- Add a CNAME record for
wwwpointing to<your-username>.github.io. - Optionally add A records for the apex domain (
inclusivitybookshelf.com) pointing to GitHub's IPs:185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153 - Add an AAAA record or second CNAME if you want the apex domain to redirect to
www.
- Add a CNAME record for
Once DNS propagates, the site will be live at https://www.inclusivitybookshelf.com.
The site is built with accessibility in mind:
- Semantic HTML landmarks
- Skip-to-content link
- Logical heading hierarchy
- Visible focus indicators
- Colour contrast meeting WCAG AA
- Responsive typography using
remunits prefers-reduced-motionsupport- Dark mode with system preference detection and manual toggle
This project is licensed under the MIT License - see the LICENSE file for details.
Content is intended for reuse. If you set up a bookshelf, we would love to hear about it.