Coder Social home page Coder Social logo

pretty9 / handshake-org.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from handshake-org/handshake-org.github.io

0.0 1.0 0.0 38.69 MB

Handshake developer documentation site

Home Page: https://hsd-dev.org

Shell 0.51% HTML 1.91% Ruby 1.09% JavaScript 87.90% CSS 1.59% SCSS 6.99%

handshake-org.github.io's Introduction

Handshake Developer Documentation Site

Handshake is a UTXO-based blockchain protocol which manages the registration, renewal and transfer of DNS top-level domains (TLDs).

This is the GitHub Pages hosted website for the Handshake protocol. This site includes, API docs, JSdoc generated documentation, instructional guides, and links to the white paper and protocol spec.

Dependencies

To work on this site you will need:

  • Linux or macOS (Windows may work, but is unsupported).
  • Ruby, version 2.3.1 or newer
  • Bundler โ€” If Ruby is already installed, but the bundle command doesn't work, just run gem install bundler:1.16.3 in a terminal.
  • Pandoc

Build

Build site and slate API docs from the project's root directory:

./bin/build

Build jsdoc:

./bin/build-docs

Run

To view the site locally, execute the build command first, and then run a simple http server from the project's /build directory:

$ cd build

Python2:

$ python -m SimpleHTTPServer 8080

Python3:

$ python -m http.server 8080

Ruby:

$ ruby -run -e httpd . -p 8080

Node.js:

$ npm install -g http-server
$ http-server -p 8080

The site will run at http://localhost:8080.

Updating API Docs

The API Documentation runs on the Open Source Slate Framework. To make an update, fork the repo and make the changes to the appropriate markdown in this file directory. To use livereload while working on the API docs, use middleman livereload like so:

$ cd ./handshake-org.github.io/src/api-docs/
$ bundle install
$ bundle exec middleman server

When your PR is merged the new docs will be deployed to the live docs page.

Guide Contribution Guidelines

Submitting Ideas

Have an idea for a guide or tutorial? First head on over to the GitHub issues and see if your idea is already posted. If not, create an issue.

Don't commit built files

Pull requests should only include changes to files in the src directory. Releases will be done that build and deploy.

Adding a New Guide

To add a new guide, just a submit a pull request (PR) with a markdown file added to the src/guides directory in this repo (take a look at some of the other guides here). If your PR is accepted, it will added to the website.

Be sure to build the site before submitting your PR.

handshake-org.github.io's People

Contributors

bizmindx avatar boymanjor avatar brandondees avatar buffrr avatar dependabot[bot] avatar dylanbathurst avatar edwardbetts avatar fabiodmferreira avatar falci avatar hschoenburg avatar jeffallen avatar kqzz avatar kveretennicov avatar l2dy avatar mattl avatar mmcgrana avatar nodech avatar owenvoke avatar pedrovitti avatar pinheadmz avatar pretty9 avatar randomlogin avatar shalzz avatar tuxcanfly avatar tynes avatar umetaku5 avatar

Watchers

 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.