TheThingsNetwork / Docs

Documentation for The Things Network

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Docs

Mainflux
Industrial IoT Messaging and Device Management Platform
Stars: ✭ 1,341 (+2098.36%)
Mutual labels:  iot, internet-of-things, lorawan
Workshops
Workshops for The Things Network
Stars: ✭ 74 (+21.31%)
Mutual labels:  iot, internet-of-things, lorawan
Arduino Device Lib
Arduino Library for TTN Devices
Stars: ✭ 155 (+154.1%)
Mutual labels:  iot, internet-of-things, lorawan
Chirpstack Network Server
ChirpStack Network Server is an open-source LoRaWAN network-server.
Stars: ✭ 1,231 (+1918.03%)
Mutual labels:  iot, internet-of-things, lorawan
Ttn
The Things Network Stack V2
Stars: ✭ 440 (+621.31%)
Mutual labels:  iot, internet-of-things, lorawan
Pdoc
API Documentation for Python Projects
Stars: ✭ 853 (+1298.36%)
Mutual labels:  documentation, docs
Smarthome
Eclipse SmartHome™ project
Stars: ✭ 867 (+1321.31%)
Mutual labels:  iot, internet-of-things
Emqx
An Open-Source, Cloud-Native, Distributed MQTT Message Broker for IoT.
Stars: ✭ 8,951 (+14573.77%)
Mutual labels:  iot, lorawan
Vuesence Book
Minimalistic Vue.js based documentation system component
Stars: ✭ 48 (-21.31%)
Mutual labels:  documentation, docs
Home Assistant Config
Home Assistant config files, rewritten to use the latest features, 100+ documented automations, automatically generated ToC 🏠 🤖
Stars: ✭ 926 (+1418.03%)
Mutual labels:  iot, internet-of-things
Bsdoc
📚 Documentation Generator for BuckleScript
Stars: ✭ 43 (-29.51%)
Mutual labels:  documentation, docs
Flask Apidoc
Adds ApiDoc support to Flask
Stars: ✭ 49 (-19.67%)
Mutual labels:  documentation, docs
Homeassistant
Example Home Assistant Configs
Stars: ✭ 846 (+1286.89%)
Mutual labels:  iot, internet-of-things
Parse Code Context
Parse code context in a single line of javascript, for functions, variable declarations, methods, prototype properties, prototype methods etc.
Stars: ✭ 7 (-88.52%)
Mutual labels:  documentation, docs
Worldpay Within Sdk
Worldpay Within SDK to allow payments within IoT. Written in Go.
Stars: ✭ 12 (-80.33%)
Mutual labels:  iot, internet-of-things
M2x Python
AT&T M2X Python Library
Stars: ✭ 25 (-59.02%)
Mutual labels:  iot, internet-of-things
App
Fast and searchable Ruby docs
Stars: ✭ 47 (-22.95%)
Mutual labels:  documentation, docs
Pysmartthings
A python library for interacting with the SmartThings cloud API build with asyncio and aiohttp.
Stars: ✭ 51 (-16.39%)
Mutual labels:  iot, internet-of-things
Paho.mqtt.c
An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS. API documentation: https://eclipse.github.io/paho.mqtt.c/
Stars: ✭ 1,056 (+1631.15%)
Mutual labels:  iot, internet-of-things
Jsdoc Baseline
An experimental, extensible template for JSDoc.
Stars: ✭ 51 (-16.39%)
Mutual labels:  documentation, docs

The Things Network Documentation Build Status

This is a Jekyll site which Travis automatically tests and builds to the gh-pages branch to be served via GitHub Pages.

Update content

If you do a lot of edits please use a local build to preview and test.

  • The homepage for the site is index.html.
  • The guides are a Jekyll collection in the _content folder.
  • Store assets in the same folder as the markdown file you need it in and include them by their filename. You can also use relative paths to re-use images from other guides.
  • To link to another child guide, use the relative markdown path (e.g. ../devices/registration.md) and Jekyll will make it .html.
  • To link to another parent guide, use the relative markdown path (e.g. ../devices/index.md) or the directory path, ending with a slash (../devices/).
  • Guides are sorted on descending zindex first, then title ascending and if those are equal label descending.
  • Use blockquotes (>) to create callouts for important notes.
  • To set an image to use on Facebook and Twitter use image:/absolute/path/to/image.png in your frontmatter.
  • You can use most of the icons we use in the console. Simply use <i class="ion-eye"></i> in the Markdown and we'll style it as a button.

Build local for preview and design

  1. Install Ruby 2.0.0 or higher

The version of Ruby that comes preinstalled on MacOS may cause problems with Bundler. We recommend using Homebrew to install the latest version of Ruby.

  1. Install Bundler:

    $ gem install bundler
    
  2. Install Jekyll using Bundler:

    $ bundle install
    
  3. Install Node.js and NPM.

  4. Install front-end and development dependencies:

$ npm install
> This will also overwrite any local git pre-commit hook to execute [npm run webpack](package.json#L12), [npm test](package.json#L15) and [npm run add](package.json#L16) to append the webpack build.
  1. Run Webpack, build the local Jekyll site and watch for changes:

    $ npm run dev
    

    Be aware that this will use Jekyll's experimental incremental mode. Only the file you edit will be regenerated. So a change in a guide's title will not cause the navigation on all other pages to be updated. Just kill the proces and run it again.

Guidance

Build and upload a preview

If you do some major refactoring and would like to upload a build somewhere for preview, then you can use:

npm run scp [email protected]:/path

This will create a build in _scp, upload it with scp and then delete the directory. Make sure the server has your public key or it will prompt for a password and cause the script to fail.

Alternatively, you can set the SCP_TARGET environment variable or dotenv.

Test Build Status

Pull Requests and Pushes will be tested automatically by Travis. It will let Jekyll try to build the site and then run HTMLProofer to test for broken links etc.

The test will also run automatically before every commit. To run the test manually, follow Build local to install the dependencies and then run:

npm test

Automatic updates

Some content we source directly from elsewhere, e.g. the MQTT API Reference.

Update

  1. Follow the previous section to install NPM and dependencies.

  2. Run the pull script:

    npm run pull
    

Source

To source more content from elsewhere edit _scripts/pull.js.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].