Git Product home page Git Product logo

eosdocs.io's Introduction

EODDocs.io

This repository contains the code that powers the EOSDocs.io website.

The PublicWebsite folder contains the Hugo project source code which outputs static HTML (which can then be hosted anywhere).

Hugo allows content authors to write content in markdown files (See the PublicWebsite\content folder). So if you're only interested in changing the content of a page \ tutorial, that is the best place to start.

The Hugo Learn Theme in combination with the content to produce the final output.

The theme documentation provides details on the usage of the theme.

Local Development

If you'd like to see the final rendered HTML preview of any change you're making, it's very easy to clone the project to your local hard drive and then run hugo to see the fully rendered site.

In order to execute the hugo command you will need to have installed hugo on your local machine - this is a very simple process (instructions can be found here)

$ git clone https://github.com/BinaryFocus/eosdocs.io.git
$ cd eosdocs.io/PublicWebsite/
$ hugo server -D

Note that the "hugo server -D" command is now runnin a mini web server that will preview the website at http://localhost:1313/ and will regenerate the HTML after any change to a file.

Adding new pages / content

Adding pages can be done by simply doing the following

$ cd eosdocs.io/PublicWebsite/
$ hugo new dAppDevelopment\newsubpage\index.md

This will create a new file "PublicWebsite\content\dAppDevelopment\newsubpage\index.md"

By default this page looks as follows.

---
title: "Newsubpage"
date: 2018-04-24T08:43:24-04:00
draft: true
---
  1. Update the title
  2. Update the draft status to false when you're ready to publish the page. Note that you'll only see these pages that are in a draft state when you're running the "hugo server -D" command as described above (the -D flag enables draft page visibility).

Here's what you should end up with

---
title: "A New Sub Page Title"
date: 2018-04-24T08:43:24-04:00
draft: false
---

Some Markdown here

eosdocs.io's People

Contributors

binaryfocus avatar warrickfitz avatar evanvshepard avatar velua avatar stanishev avatar blackdragonroarz avatar robrigo avatar deniscarriere avatar hansenlin avatar pbrkr avatar vincent9432 avatar fieldfoxwim avatar gammastrat avatar acoutts avatar raza-basit avatar ansigroup avatar deckb avatar cortexelus avatar soleone avatar huweyii avatar jchung00 avatar jorfermo avatar michaeljyeates avatar n8d avatar pete001 avatar i-love-to-code avatar samreye avatar stevefloyd avatar jakub-zarembinski avatar swandoyo avatar

Watchers

Eureka Chen 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.