Giter VIP home page Giter VIP logo

docs's Introduction

IOTA Documentation

This is the public documentation to introduce IOTA.
You can access this documentation online at https://docs.iota.org/ .

Running Locally

Download the copy of this repostory.

git clone https://github.com/iotaledger/docs.git

Then visit to the downloaded repository and install dependencies with:

npm install

Then you can run the app with: (The app is written in Next.js)

npm run dev

Now the documentation is running at http://localhost:5800

Editing Docs Content

You can find the source of the documentation inside the pages directory. Documentation is mostly written in markdown with the help of some React components.

Those components give us additional features which are not available in markdown.

Adding New Docs

You can start writing the new docs page by adding it to the pages directory starting with the following code:

import { withRouter } from 'next/router'
import WithMDX from '../../../lib/with-mdx'

import { TerminalInput } from "../../../components/text/terminal"

export const page = {
title: 'Example Page',
date: '19 Feburary 2018',
editUrl: 'pages/path/for-editing/on-github.mdx',
}

export default withRouter(props => WithMDX(props, page))

# H1 Title

This is the content written in Markdown.

<TerminalInput># this is how we show the terminal input</TerminalInput>x

Then you can add it to the sidebar by editing the file located at: lib/data/docs.js.

These docs use MDX: a powerful parser, loader and renderer for JSX. See how the library works here.

Adding Images and Assets

You can add images and assets into the static directory. Always try to avoid using hosted images. If you are creating a new docs page, keep you images inside a subdirectory under static/docs.

New Components

Always try to use the existing components and features in markdown. Create a new component or use a component from NPM, unless there is no other option.

Submitting Changes / New Doc Pages

You can simply send a PR. It's simple as that.

docs's People

Contributors

arunoda avatar austintoddj avatar danielharrison avatar danyshaanan avatar davidgilbertson avatar devisscher avatar embeddedandroid avatar jakescahill avatar l3wi avatar laumair avatar leo avatar littlestudent avatar matheuss avatar matiastucci avatar mikemcbride avatar myhrmans avatar navdevl avatar nelsonpython avatar nkzawa avatar olliv avatar paulogdm avatar rajivshah3 avatar rauchg avatar sergiodxa avatar sloria avatar sonidy avatar stevenmathews avatar stevexm avatar thoralf-m avatar w1ndchaser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Access Denied, Devnet DB Download Link

In Devnet docs:
The database is available for download here and usually requires the latest version of IRI.

Link: https://s3.eu-central-1.amazonaws.com/iotaledger-dbfiles/testnet/db-latest.tgz

shows when trying to use:

--2018-09-10 16:51:51--  https://s3.eu-central-1.amazonaws.com/iotaledger-dbfiles/testnet/db-latest.tgz
Resolving s3.eu-central-1.amazonaws.com (s3.eu-central-1.amazonaws.com)... 52.219.73.32
Connecting to s3.eu-central-1.amazonaws.com (s3.eu-central-1.amazonaws.com)|52.219.73.32|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-09-10 16:51:51 ERROR 403: Forbidden.

First Transaction behaviour different from docs

I do not get the 'attachToTangle is not available` error. Indeed the transaction goes thru and I get the desired output without overriding the behaviour of the library with a PoW service.

"First Transaction" tutorial is incomplete

Hi everyone,

I've tried to follow the tutorial @ https://docs.iota.org/introduction/tutorials/first-transaction but could not find the Receive Transaction section. I've checked the repo and it looks like this file https://github.com/iotaledger/docs/blob/master/pages/introduction/tutorials/retrieve-transactions.js is just a copy of https://github.com/iotaledger/docs/blob/master/pages/introduction/tutorials/first-transaction.js

Would be great to have a fully available tutorial :)

Thanks in advance

Cheers!

Typing error

Hi
I found an typing error (copy paste error :-) ).

image

Adding new pages in IOTA

I clone the repo, install npm and run dev but the style of the page is totally different than the normal one and the main design is lost not the same as here (https://docs.iota.org).
how can I solve this issue because I want to use iota docs for developing my own docs?

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.