Skip to content

adasauce/metroline-docs

 
 

Repository files navigation

Metroline Logo

Metroline Docs

This repository contains the sources of https://docs.metroline.io. Feel free to improve it !

Get started

  1. Install dependencies npm run install
  2. Run cp .env.example .env
  3. Start npm start

Page info

You set metadata at the top of your Markdown files. It's not mandatory, but allows you to control SEO data.

---
title: 'page title'
excerpt: 'some description'
isHomePage: true | false
---

Special markdown blocks

Code blocks

Blank lines are important.

<div class="code-group" data-props='{ "lineNumbers": ["true"] }'>

\`\`\`yaml
#Your code here
\`\`\`

</div>

Info/Warning/Danger

Blank lines are important.

<div class="blockquote" data-props='{ "mod": "info" }'>

Your content here.

</div>
<div class="blockquote" data-props='{ "mod": "warning" }'>

Your content here.

</div>
<div class="blockquote" data-props='{ "mod": "danger" }'>

Your content here.

</div>

Ackee

Ackee is a privacy-friendly, self-hosted tracking tool. To use it:

GATSBY_ACKEE_SERVER=http://localhost:3000
GATSBY_ACKEE_DOMAIN_ID=...

if you've changed ACKEE_TRACKER in your Ackee server:

GATSBY_ACKEE_TRACKER=custom-name

To disable detailed tracking:

GATSBY_ACKEE_DETAILED=false

To also send tracking info for localhost:

GATSBY_ACKEE_IGNORE_LOCALHOST=false

Algolia

You can find this info in your Algolia account under API keys.

ALGOLIA_ADMIN_KEY=
GATSBY_ALGOLIA_APP_ID=
GATSBY_ALGOLIA_INDEX_NAME=
GATSBY_ALGOLIA_SEARCH_ONLY_KEY=

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.3%
  • SCSS 42.6%
  • Shell 0.1%