Coder Social home page Coder Social logo

ludwig-docs's Introduction

Ludwig documentation

Building docs locally

Ludwig's documentation is build using MkDocs and the beautiful Material for MkDocs theme. In order to create Ludwig's documentation you have to install them:

pip install -r requirements.txt

Generate api.md from source:

python code_doc_autogen.py

Run the web server:

mkdocs serve

Navigate to http://localhost:8000 to view the docs.

Test versioning locally

Deploy docs for the current version of Ludwig in your environment:

export LUDWIG_VERSION=$(python -c "import ludwig; print('.'.join(ludwig.__version__.split('.')[:2]))")
mike deploy --update-aliases $LUDWIG_VERSION latest

Run the web server:

mike serve

Navigate to http://localhost:8000 to view the docs.

Updating docs for older Ludwig versions

The CI system will by default publish new docs for the latest version of Ludwig when commit is made to the master branch.

To update docs for an older version of Ludwig, create a new branch:

git checkout -b $VERSION

Make sure the correct version of Ludwig is installed locally and generate the API docs:

pip install ludwig[full]==$VERSION
python code_doc_autogen.py

Use the --push option to publish the changes to the remote repo. Be sure to only include the major and minor version (e.g., 0.5 instead of 0.5.1) for the docs:

mike deploy --push $MAJOR_MINOR_VERSION

ludwig-docs's People

Watchers

 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.