Coder Social home page Coder Social logo

tendermint.github.io's Introduction

Tendermint Website

The one and only website for Tendermint.

Production

Please ask the team for deployment privileges.

# add the production server if you haven't already
git remote add production [email protected]:~/tendermint.git
# deploy it!
git checkout master
git merge develop
git push production master

Development

Make sure you're running Node 6 LTS or higher.

# install dependencies
npm install

# write some required files
npm run build

# serve with hot reload at localhost:8800
npm run dev

5-Second Editing Guide

# Edit Blog > Posts
./content/blog/
npm run blog

# Edit Documenation
./content/intro/
./content/docs/
npm run docs

# Edit Community > Software Ecosystem
./src/store/json/software.json

# Edit Community > Team
./src/store/modules/people.js

# Edit Community > Jobs
./src/store/json/jobs.json

# Edit Community > Presentations
./src/store/modules/presentations.js

Documentation Editing (Detailed Guide)

Creating a New Page

To add a new page, create a markdown file in ./content/docs/ or './content/intro/. The title of the page is based on its filename. For example, 'this-is-awesome.md' will have a title of 'This is Awesome'.

By default, pages are ordered alphabetically based on filename. If you want to have a custom order for your documentation, label the files with numbers. Like this:

▾ getting-started/
    #01-download-tendermint.md
    #02-first-abci-app.md
    #03-deploy-testnet.md #04-next-steps.md

Creating a New Section

To add a new section to documentation, add a new directory under .content/docs/.

Markdown Links

If you want to link to other pages in the Tendermint site, please use the full path. This will prevent the user's browser from reloading the entire website. For example:

# won't work
[block hash](./tendermint-types#block-hash)

# will work
[block hash](/docs/internals/tendermint-types#block-hash)

Markdown Link to Hash

HTML IDs are automatically generated for headings. You can link to them, but please remember to use the slug case format. 'this-is-slug-case'

# won't work
[block hash](./tendermint-types#Block.Hash)

# will work
[block hash](/docs/internals/tendermint-types#block-hash)

Building for Production

Please run the following command to build all documentation.

npm run docs

tendermint.github.io's People

Contributors

bloo avatar ebuchman avatar ethanfrey avatar hcopperm avatar jaekwon avatar mappum avatar melekes avatar nylira avatar

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.