GithubHelp home page GithubHelp logo

wakamex / trueblocks-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trueblocks/trueblocks-docs

0.0 0.0 0.0 162.38 MB

Home Page: https://trueblocks.io/

License: GNU General Public License v3.0

Shell 0.06% JavaScript 0.58% HTML 99.36%

trueblocks-docs's Introduction

GitHub repo for TrueBlocks.io.

hugo rsync link checker

Contributing

To develop on this site, you need npm and hugo.

To run locally:

  1. Install npm dependencies
npm install
  1. serve hugo to local host
hugo server

We have a few customizations, but all the hard work for creating this theme was done by the good people at Doks: https://github.com/h-enk/doks/

Important directories:

  • The Homepage is in the layouts/index.html
  • Content templates go in archetypes
  • layouts contains all information about templates
  • config/_default/menus.toml contains the structure for the overall menu and the section menus

How to add menu items

Open up config/_default/menus.toml.

If you want to add a head section, add a config to [[main]].

[[main]]   
  name = "Docs"
  url = "/docs/prologue/introduction/"
  weight = 10

The more "weight", the farther to the left it will be.

Then change some files in layouts. Check out the files the template owner changed here. atwriter/new_doks_site#1

If you want to add a subsection, it will look like this under [[<section-name>]]

[[docs]]
  name = "Tools"
  weight = 20
  identifier = "tools"
  url = "/docs/concepts/"

The more weight it has, the farther down the section will be.

When you create content, you probably want to create corresponding directories in content.

Contributing

We love contributors. Please see information about our work flow before proceeding.

  1. Fork this repository into your own repo.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make changes to your local branch and commit them to your forked repo: git commit -m '<commit_message>'
  4. Push back to the original branch: git push origin TrueBlocks/trueblocks-core
  5. Create the pull request.

Contact

If you have questions, comments, or complaints, please join the discussion on our discord server which is linked from our website.

List of Contributors

Thanks to the following people who have contributed to this project:

trueblocks-docs's People

Contributors

mattdodsonenglish avatar tjayrush avatar dependabot[bot] avatar samueldg avatar perama-v avatar dszlachta avatar 0x1355 avatar kuzdogan avatar 0age avatar stoooops avatar yabirgb avatar michaelmccallam avatar nftyslobo avatar wk0 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.