Skip to content

nulogy/content-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

93c6c16 · Jan 26, 2024

History

65 Commits
Jan 9, 2024
Jan 9, 2024
Jan 26, 2024
Jan 9, 2024
Jan 9, 2024
Jul 29, 2021
Jul 29, 2021
Aug 5, 2021
Jan 9, 2024
Jan 9, 2024
Jan 9, 2024
Jan 9, 2024
Jan 9, 2024
Jan 9, 2024
Jan 9, 2024

Repository files navigation

Nulogy content guide

http://content.nulogy.design

Development

Adding a page

  1. Put a new .mdx file inside the pages directory and it will be automatically turned into a page, using the directory structure to build the url. e.g to create a page at http://content.nulogy.design/mew-section/new-page, add a file called new-page.mdx to a new-section folder.

  2. Add the page to src/data/routes.js. By default, the page will take it's title from the name key and display it both in the navigation menu and at the top of the page. A title key can be added if a longer page title is desired on the actual page, e.g:

{
  name: "Overview",
  href: "/voice-and-tone/overview",
  title: "Voice and tone"
},

Pull request workflow

We use Pull Requests for merging code into our codebase. Open up a new one if you'd like to suggest an addition, and send it to someone else to review. After a review, feel free to merge the PR.

Deploying

  • The site will deploy through a Github Action on every merge to master.
  • To manually deploy, run yarn build && yarn deploy. This will copy the /public/ folder to the gh-pages branch.