Skip to content

rinconraul/DS-User-Guide

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DesignSafe User Guide

DesignSafe MkDocs documentation with customized ReadTheDocs theme.

Contributing

How to Contirbute to Use Cases

How to Contribute Other Changes:

  1. Fork this repository.
    (unless you are a direct collaborator)
  2. Edit relevant files that need update.
    (upload images as necessary)
  3. Commit your changes.
  4. Test your changes.
    (if comfortable using a command prompt)
  5. Request a review.
    (a.k.a. create a "Pull Request")

Resources

Testing

A. Via Python

Important

This method has different theme than live website (#42) and bugs (#66).

  1. Have Python installed.
    Known supported versions are from 3.10 to 3.12.
  2. Install Poetry to manage dependencies.
    You should only need to do this once.
  3. Navigate into /user-guide/ within your clone of this repo.
  4. Install/Update project dependencies:
    You should only need to do this after new releases.
    poetry install
  5. Serve the docs:
    poetry shell
    mkdocs serve
    After the poetry shell command, you should be in a Poetry-managed environment. Your prompt might be prefixed with the name of the environment.
  6. Open the website at the URL echoed by the program e.g. http://127.0.0.1:8000/user-guide/.

B. Via Docker

  1. Have Docker installed.
    We recommend doing so via Docker-Desktop.

  2. Navigate into your clone of this repository.

  3. Start the Docker container to serve the docs.

    Using Make:

     make build
     make start
    

    Or:

     docker compose build
     docker compose up
    
  4. Open the website at the URL provided e.g. http://localhost:8000/user-guide/.

Automatic Builds

Automatic builds (not deploys) should occur on pushes to any branch.2

Automatic Deployment

Automatic deploys should occur after an automatic build on the main branch.2

Releases

All commits to main will trigger a docker build and push a new image to designsafeci/ds-user-guide:latest.

A Watchtower service monitors new pushes to this dockerhub repo and pull down new images on the fly to https://designsafeci-dev.tacc.utexas.edu/user-guide/.

Footnotes

  1. Enabled extensions are tracked by https://github.com/TACC/TACC-Docs/blob/main/mkdocs.base.yml under markdown_extensions:. 2

  2. To manually build or deploy, consult our internal documentation. 2

Releases

No releases published

Packages

No packages published

Languages

  • Tcl 41.2%
  • Python 25.0%
  • TeX 17.0%
  • CSS 10.6%
  • Shell 3.4%
  • Dockerfile 1.4%
  • Makefile 1.4%