Coder Social home page Coder Social logo

ipopescu / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from casper-network/docs

0.0 0.0 0.0 68.08 MB

Application running the documentation markdown files.

License: Apache License 2.0

Shell 0.48% JavaScript 27.17% SCSS 28.79% TypeScript 41.86% HTML 0.41% CSS 1.30%

docs's Introduction

Casper Network Documentation

Overview

Welcome to the documentation website for the Casper Network. The documentation lives at this address: https://docs.casper.network/.

Read this page to learn how to contribute new content and run the documentation website locally.

Setup

Follow these steps to run the documentation website locally, displayed in your localhost at http://localhost:3000/.

Pre-requisites

  • Install a code editor, such as Visual Studio Code (vscode). You may also want to install editing extensions such as prettier, eslint, and others listed in the .vscode/extensions.json file.

  • Install Node.js (version 16.14+).

  • Install yarn via npm using this command:

    npm install --global yarn
    

Running the website locally

  1. Create a fork of the documentation repository in GitHub: https://github.com/casper-network/docs/.

  2. Clone the fork on your machine.

    git clone https://github.com/USERNAME/docs
    
  3. In the forked folder, run this command, which is required to run only once for a folder:

    yarn install
    
  4. Start the localhost server:

    yarn run start
    
  5. Access http://localhost:3000/ in your browser.

The following section details how to update the content.

Updating existing content

  1. Navigate to the source/docs/casper folder.
  2. Find the content you want to update and modify the markdown file(s). If you want to add new content, read the Developer Guide and the Writing Style Guide.
  3. Run the website locally to test your changes.
  4. Submit changes to the documentation using a pull request from your forked repository.

Note: The website refreshes as you change the markdown files. However, if you change the structure or configuration of the website, you need to restart the application.

Adding new content

Adding new content may require structural changes. Read the Developer Guide and the Writing Style Guide.

docs's People

Contributors

acstonecl avatar andrzej-casper avatar asladeofgreen avatar bradjohnl avatar brunoclementino avatar buddhika-pathirathna avatar cryofracture avatar dependabot[bot] avatar devendran-m avatar dylanireland avatar esteban-abella avatar gloreens avatar groussac avatar guidoviani avatar ioreka avatar ipopescu avatar jiuhong-casperlabs avatar jonas089 avatar kmcreatesworlds avatar koxu1996 avatar lucasarcemd avatar marc-casperlabs avatar mparlikar avatar msalmeron avatar omahs avatar ramujin avatar sacherjj avatar sczembor avatar sd-ditoy avatar shalmalicl 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.