Coder Social home page Coder Social logo

thethingsnetwork / docs Goto Github PK

View Code? Open in Web Editor NEW
63.0 19.0 294.0 203.27 MB

Documentation for The Things Network

Home Page: https://www.thethingsnetwork.org/docs/

License: Apache License 2.0

Go 61.63% Makefile 38.37%
iot internet-of-things lorawan documentation docs

docs's Introduction

The Things Network Documentation

The documentation site for The Things Network is built with Hugo. All content is stored as Markdown files in doc/content.

Data for generated documentation like the glossary is stored in doc/data.

Development Environment Dependencies

The Things Network Documentation development tooling uses Go and Yarn.

In order to build the documentation site with the right theme, you need to run make deps from time to time. This will install Yarn on Mac and Unix systems if it is not already installed.

Getting Started

Install dependencies and tooling to help you comply with our git style guidelines by running

$ make init

Running a Development Server

You can start a development server with live reloading by running make or make server. This command will print the address of the server.

Building the Documentation for Github Pages

The documentation site can be built for Github Pages by running make build.public. This will output the site to public.

Building the Documentation for Internal (Offline) Use

The documentation site can be built for internal (offline) use by running make build.internal. This will output the site to internal.

Contributing

Please see the style, branch naming, and commit guidelines in CONTRIBUTING

Creating New Documentation

Run make new <path> to create a new documentation section from the template at path. For example, make new getting-started/hello will create a section in getting-started/hello.

docs's People

Contributors

adriansmares avatar avbentem avatar benolayinka avatar chiflux avatar dependabot[bot] avatar dorianamouroux avatar fokkezb avatar gomezjdaniel avatar htdvisser avatar jackgruber avatar johanstokking avatar jpmeijers avatar kersing avatar krishnaiyer avatar kschiffer avatar maartenarits avatar marknambatac avatar martinbeentjes avatar mathieumonneret avatar michalborkowski96 avatar mjamescompton avatar nejraselimovic avatar nestorayuso avatar pgalic96 avatar pradeeka7 avatar rish-c avatar romeovs avatar tdsmtdsm avatar ursalink avatar wienke 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar

docs's Issues

Merge _guides and _versions

I'd like all content to be in one root folder and content to be able to use sections and assets from other versions.

  • Move _guides to _content/current
  • Move _versions/refactor to _content/refactor
  • Use the first level under _content as version

This does mean that URLs like /docs/uno will become /docs/current/uno. With #20 it might be possible to redirect /docs/* that lead to 404 to /docs/current/* if it exists (use site.guides to make a rule for each of them)

Create make-your-own-guide wizard

This should:

  1. Ask me what device I have to work with.
  2. Ask me where I'd like to receive/process/respond messages.
  3. Show me which guides to go through, e.g.
    1. Uno Quick Start
    2. Node-RED Quick Start

To enable the above all Quick Starts should use the same use case. This is already the case and since we have to assume no sensors it uses the builtin LED.

Once we have this we can extend this to:

  1. Ask me what sensor I have
  2. Generate a device + application QS with encoder/decoder specific to that sensor

This would be a lot harder :)

Make mobile-ready

  • Main navigation
  • Sidebar navigation
  • Responsive images and other content

Automate pulling existing content from repos

  1. Generate, e.g. for TTNCTL with https://github.com/spf13/cobra/blob/master/doc/man_docs.md
  2. Pull, e.g. https://github.com/TheThingsNetwork/ttn/blob/refactor/mqtt/README.md for MQTT

This should help us in particular with API reference to keep the API reference with the source but still have it available through docs as well.

It would require:

  • The MD pulled in to be just that; API reference
  • A script and config file with files to pull and where to put
  • Run the script on every docs publish to update

Guide: Advanced data guide

Not sure where to put this, but it should talk about:

  • How scheduled downlinks work (no buffer, limited response window..)
    • A graphic would help a lot here
  • Why use bytes (air time, comparison table..)
  • How to encode different types of data in bytes (example functions, byte shifting..)
  • How to send and decode multiple data values (name spacing..)

And maybe in the same guide also

Add FAQ section?

Not sure if docs is the right place, but it would be great to have a searchable page with FAQs like:

  • Can I register a device to multiple applications?
  • ...

Rethink where to place guides, includes and assets

Images in MD don't show on GitHub or local editors because in the MD I need to do:

![]({{ site.baseurl }}/assets/image.png)

I'd like to get rid of {{ site.baseurl}} and have a relative path that works both after build and on GitHub and in editors.

Guide: Working with Bytes

Explain why (low bandwidth, limited airtime) and how to work with bytes (scale/split to 256 per byte)

Prevent duplicate heading IDs

Currently if you have two identical headings (e.g. of different levels) they will get the same ID, which breaks the anchor links and TOC.

Test for orphan assets

While #29 is closed, the one thing it doesn't do is check for images (and other assets) that aren't used anywhere.

Source front-page blocks site.guides

Since guides are a collection now, any information to list them on the front page could come from their front-matter. Only challenge being grouping them.

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.