Code Monkey home page Code Monkey logo

fantm.github.io's Introduction

FANTM.github.io

Documentation for the FANTM APIs and Libraries, hosted here. The website is built using Gatsby (so React), along with Material-UI as the main component library. The driving philosophy is that documentation should be incur no additional overhead while being maintained; the 100% of the effort should be directed at the documents themselves. We might not be completely there yet, but most improvements will be geared towards streamlining that process over everything else.

Getting Started.

Before working adding new pages, you first need to perform a bit of one-off setup. Just run:

git clone https://github.com/FANTM/fantm.github.io
cd fantm.github.io
npm install

Then you need to make your new branch where the docs will be added:

git checkout -b <username-topic>

You should be ready to get started!

Updating Documentation

First make sure you are on your own branch (and it's up to date with the main branch if you've used it before).

To start changing documentation, just add the .mdx file (read more about .mdx but TL;DR: it's spicey markdown) to the ./src/markdown-pages folder, and add a path to the file in the ./src/data/TableOfContents.yaml file. The only rule here is the block at the top of the .mdx file needs to have a slug: field that matches the entry in the TableOfContents file. Then you can push and open a PR on the github website which will be reviewed and automatically update the website. If you want to test what it will look like locally you can either run the build instructions or use an online markdown previewer.

Local Building

Once you've run through the 'Getting Started' steps, all you should need to do is run npm run develop. Then you should be able to see a live-updating feed at localhost:8000/ of any documentation you are updating.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.