-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve README information on building locally and add info about dev…
…elopment workflow (#171) * Remove developmental stage from harmonized metadata table (#163) * Update README to reflect how to build locally * Add a little info about development, where to view docs * Update documentation to reflect recent harmonization-related changes (#172) * Remove sample strain from cell line source key * Also remove development stage from paragraph * Clarifying example of type casting (#164) * Explain multimapped source keys behavior (#160) Age is a special case * Add strain background to genetic info * Add note about when harmonization docs are effective Notes in Sphinx only seem to work in RST * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Deepa Prasad <d.prasad@alexslemonade.org> * Apply suggestions from code review Co-authored-by: David <davidsmejia@gmail.com> * Wordsmithing * Add time source key to time harmonized key * Update docs and table to reflect how we generate variants Also move where we talk about the treatment of values * Multimapped values in alphanumeric ascending order * Update docs/main_text.md * Add sex to harmonized key table, remove reference to special case * Revert "Add sex to harmonized key table, remove reference to special case" This reverts commit 0a32c45. * Add sex back into harmonized keys table --------- Co-authored-by: Deepa Prasad <d.prasad@alexslemonade.org> Co-authored-by: David <davidsmejia@gmail.com> --------- Co-authored-by: David <davidsmejia@gmail.com> Co-authored-by: Deepa Prasad <d.prasad@alexslemonade.org>
- Loading branch information
1 parent
2fadb8a
commit 42ef522
Showing
3 changed files
with
54 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
# refinebio-docs | ||
|
||
## To install: | ||
## Development workflow | ||
|
||
git clone https://github.com/AlexsLemonade/refinebio-docs | ||
virtualenv env | ||
source env/bin/activate | ||
pip install -r requirements.txt | ||
All branches adding or updating documentation should branch from `development`, the default branch for this repository. | ||
Pull requests adding or updating documentation should target `development`. | ||
The development version of the docs can be viewed at <https://docs.refine.bio/en/development/>. | ||
|
||
## To run: | ||
To deploy to latest (<https://docs.refine.bio/en/latest/>), file a pull request to merge `development` into `main`. | ||
|
||
cd docs/ | ||
./autobuild.sh | ||
### Building on pull requests | ||
|
||
## To edit: | ||
Read the Docs builds on pull request events for this repository, which reports the build status and lets you preview changes. | ||
|
||
## Local development | ||
|
||
### Environment | ||
|
||
To set up the environment (assuming `virtualenv` is installed), use the following commands: | ||
|
||
```sh | ||
virtualenv env | ||
source env/bin/activate | ||
pip install -r requirements.txt | ||
``` | ||
|
||
### Building locally | ||
|
||
Build locally with the following: | ||
|
||
```sh | ||
cd docs/ | ||
./autobuild.sh | ||
``` | ||
|
||
cd docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters