Guides¶
Guides typically focus around solving a specific problem, or accomplishing a commonly performed action. Guides can include code snippets and terminal commands.
Updating Documentation¶
There are a handful of steps to updating the documentation:
Update the relevant file(s) in the
/docs/sourcedirectory(Optional) Delete the old local documentation files via
make cleanBuild the documentation via
make build_docsValidate the changes in the
/docs/builddirectory
Once the changes are validated, commit the changes to github. When the changes are merged into master, the documentation will be updated via a github actions and hosted at https://philliams.github.io/Python-Prefab/.
Updating Code and Unit Tests¶
There are a handful of steps to updating the code:
Update the relevant file(s) in the
/srcdirectoryBuild the dev images via
make build_devRun the application via
make run_all(Optional) Validate the application manually by making requests to the servers on ports 8000 and 8501
Update the unit tests in the
/unittestsdirectoryBuild the test image via
make build_testRun the unit tests via
make testOnce the code is correct and the tests pass, lint the code via
make lint
Once the changes are validated, commit the changes to github. The tests will run on commits to PR, and can be merged when it passes.