Giter Club home page Giter Club logo

documentation's Introduction

Mapzen documentation

This repository contains the configuration files and tools used to build Mapzen's documentation site mapzen.com/documentation.

The documentation is built with an open-source Python tool called MkDocs, which formats GitHub markdown files in to a static, HTML website. Note that while MkDocs reads just one source, Mapzen has enhanced it to integrate multiple repositories. There have been additional enhancements to support URL redirects and renaming files in the output help. You can read more about this process in the blog post.

As long as a markdown file is listed in the build configuration, changes in the source files in the GitHub branch that is being pulled into the help (typically, the master branch) appear automatically on https://mapzen.com/documentation. This is through continuous integration processes that run in the source respositories and in this one.

Source file locations

The source files to build Mapzen's documentation may be found in separate documentation repositories in a GitHub organization, as a documentation folder in a project's repository, or within this repository. Getting changes onto the documentation site may require the files be on a certain branch or in a release.

Documentation section Source location Branch name or release
Overview https://github.com/mapzen/mapzen-docs-generator/tree/master/docs Master
mapzen.js https://github.com/mapzen/mapzen.js/tree/master/docs Latest release
Tangram https://github.com/tangrams/tangram-docs gh-pages
Vector tiles https://github.com/tilezen/vector-datasource/tree/master/docs Latest release
Search https://github.com/pelias/pelias-doc Master
Mobility https://github.com/valhalla/valhalla-docs Master
Metro Extracts https://github.com/mapzen/metro-extracts/tree/master/docs Master
Terrain tiles https://github.com/tilezen/joerd Latest release
Elevation https://github.com/valhalla/valhalla-docs Master
Android SDK https://github.com/mapzen/android/tree/master/docs Master
iOS SDK https://github.com/mapzen/ios/blob/master/docs Master
Address parsing/libpostal https://github.com/whosonfirst/go-whosonfirst-libpostal/blob/master/docs Master
Who's On First https://github.com/whosonfirst/whosonfirst-www-api/tree/master/docs Master
Cartography https://github.com/tangrams/cartography-docs/ Master

Build locally

If you need to build the documentation locally for testing, clone this repository and open a terminal window to the documentation folder.

On a Mac, assuming you have Homebrew and Python 3 installed, and a local checkout of this repository:

# Prepare virtualenv and install local dependencies
virtualenv -p python3 venv
source venv/bin/activate
pip install -Ur requirements.txt

# Get all the sources and build all the documentation
make

# Use `make clean all` for a fresh build

# Local preview
python -m http.server 8000
open http://localhost:8000/dist/

Run make clean all to build a clean copy of the documentation. This command deletes the previous build and makes new files.

You may be able to build one section of the documentation using make clean dist-{projectname}, such as make clean dist-tangram.

documentation's People

Contributors

rmglennon avatar louh avatar migurski avatar nvkelso avatar meetar avatar hanbyul-here avatar binx avatar mjcunningham avatar souperneon avatar sarahsnow1 avatar rfriberg avatar sleepylemur avatar matteblair avatar ecgreb avatar orangejulius avatar karimnaaji avatar

Stargazers

alassetter avatar

Watchers

Robert Marianski avatar James Cloos avatar  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.