GithubHelp home page GithubHelp logo

asfadmin / discovery-mkdocs Goto Github PK

View Code? Open in Web Editor NEW
0.0 9.0 1.0 9.7 MB

Documentation for Discovery products

License: Creative Commons Zero v1.0 Universal

JavaScript 10.46% CSS 12.03% HTML 54.39% Python 22.68% Shell 0.45%

discovery-mkdocs's Introduction

ASF Data Search Manual

Documentation for ASF Search applications is built using MkDocs, mkdocs.org and Material for MkDocs.

To install requirements run

pip install -r requirements.txt

pip install mkdocs-static-i18n

pip install mkdocs-material

Or you can use the included virtual environment by running the following command:

source env_mkdocs/bin/activate

Developing Documentation

MkDocs comes with a built-in dev-server that lets you preview your documentation as you work on it. Make sure you're in the same directory as the mkdocs.yml configuration file, and then start the server by running the mkdocs serve command:

$ mkdocs serve INFO - Building documentation... INFO - Cleaning site directory [I 160402 15:50:43 server:271] Serving on http://127.0.0.1:8000 [I 160402 15:50:43 handlers:58] Start watching changes [I 160402 15:50:43 handlers:60] Start detecting changes

Open up http://127.0.0.1:8000/ in your browser, and you'll see the default home page for the documentation.

Building The Site

mkdocs build --clean

This command will build documentation as an html website within the 'site' directory.

After some time, files may be removed from the documentation but they will still reside in the site directory. That is why the --clean switch is used. It will erase the old files from the site directory.

The .gitignore file lists the MkDocs site directory so the generated site files are not stored in the repository. The site directory should be built dynamically as part of the merge process in github.

Deploying The Site

The site is deployed using github pages, built using the prod branch. Merging to prod will trigger a production build.

discovery-mkdocs's People

Contributors

artisticlight avatar ccfleming417 avatar asf-discovery avatar tylercchase avatar

Watchers

 avatar Gregory Short avatar Mariya Shapran avatar  avatar Kirk Hogenson avatar Brian Buechler avatar Joseph H Kennedy avatar Andrew Johnston avatar  avatar

Forkers

asfadmin

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.