Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.53 KB

DEVELOPMENT.md

File metadata and controls

71 lines (48 loc) · 1.53 KB

DEVELOPMENT

This guide is internal and a work in progress. It assumes familiarity with npm, pip, git, mkdocs, and typical development workflows.

Getting Started

  1. Clone this repository

    git clone https://github.com/codesue/walt.git
  2. Navigate to the directory

    cd walt
  3. Install dependencies

    If you're making updates to walt.css, run:

    npm install

    If you're making changes to mkdocs-walt, run the following in a Python virtual environment:

    cd mkdocs
    pip install -e .

Developing walt.css

Open reference.html in a browser. Make changes to walt.css and refresh the tab with reference.html to preview your changes.

Lint your changes to make sure they follow style guidelines:

npm run test

When you're satisfied with your changes, run:

npm run build

Developing mkdocs-walt

Run the mkdocs development server:

mkdocs serve

Make changes to mkdocs-walt and preview them in a browser.

Folder Structure

  • /: various config and informational files
  • .github/: GitHub Actions workflows
  • assets/: assets such as preview images for the project
  • docs/: project documentation, mkdocs example
  • mkdocs/: Walt theme for MkDocs Python package