Skip to content

Commit eca9e5a

Browse files
authored
Merge pull request #2 from thompsonmj/setup-mkdocs
Setup mkdocs
2 parents ee39972 + 91323e7 commit eca9e5a

File tree

72 files changed

+728
-486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+728
-486
lines changed

.github/workflows/deploy.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Deploy MkDocs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.8'
19+
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install -r requirements.txt
24+
25+
- name: Build MkDocs site
26+
run: |
27+
mkdocs build
28+
29+
- name: Deploy to GitHub Pages
30+
uses: peaceiris/actions-gh-pages@v4
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./site

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# Mac System
22
.DS_Store
3+
4+
# Additional
5+
__pycache__
6+
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
As members of the Imageomics community, we agree to maintain an environment where every participant feels welcome to be their true self and speak from the heart.
44

55
To this end, we agree as individuals and as a group to:
6+
67
- **Listen to understand.** When one person talks, others listen.
78
- **Speak to be understood.** We use lay terms and are patient with people who are not experts in our specific field. We are all learning, no matter who we are.
89
- Embrace **“Yes and…”** Focus on possibilities instead of obstacles. Be inclusive of other people’s ideas. Honor divergence.
@@ -16,23 +17,23 @@ We abide by these principles in all Imageomics spaces, including but not limited
1617
Discrimination, bullying or harassment–sexual or otherwise–is misconduct. Those found to engage in misconduct will be subject to dismissal from the project and further actions as directed by the guidelines of the employers and the place of incidence.
1718

1819
If you believe you have experienced or witnessed misconduct in an Imageomics setting, please take these steps:
20+
1921
1. Document the incident;
2022
2. Tell someone you trust;
21-
3. Report the incident to Sam Stevens, Diane, or Tanya.
23+
3. Report the incident to Diane Boghrat.
2224

2325
Privacy will be protected to the greatest extent possible.
2426

25-
# JEDI Framework
27+
## JEDI Framework
2628

27-
[Full text](https://docs.google.com/document/d/1zHghf5bCsDsw1n0s_Nxt5wu_GYIbj9to/edit?usp=sharing&ouid=114612552367385014086&rtpof=true&sd=true)
29+
[Full text](pdfs/Imageomics_Equity_Tool.pdf)
2830

29-
## VALUES
30-
### TRANSPARENCY
31+
### VALUES
32+
#### TRANSPARENCY
3133
We ensure our efforts are clear about assumptions, uncertainty, and limits, and provide open sources of information, processes, and discovery.
32-
### ACCOUNTABILITY
34+
#### ACCOUNTABILITY
3335
We are responsible, individually and collectively, for the outcomes we produce and ensure, to the best of our abilities, that the methods outcome matches intended use.
34-
### INCLUSION & COLLABORATION
36+
#### INCLUSION & COLLABORATION
3537
We create and nurture inclusive environments and welcome, value, and affirm all members of our community. We also consider how and for whom solutions are created and promote the diversification of perspectives in the creation process. We actively engage others’ perspectives, recognize everyone’s potential to contribute new ideas, and work together to find creative solutions to complex problems.
36-
### SAFETY
38+
#### SAFETY
3739
We ensure our practices are ethical and unbiased to the best of our ability. We address biases when we discover it and practice good data governance. We work to improve practices and dismantle existing structures that create harm to people or the environment.
38-

docs/index.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Welcome to the Imageomics Institute!
2+
3+
This wiki is intended to host internal documentation, making the information needed to get started with and use institute resources readily available to all members. It will evolve continuously with the institute.
4+
5+
## Highlights
6+
There are many pages of useful information contained in this wiki covering a range of topics from institute hardware, to repositories and archives, to a glossary of _imageomics-related_ terms.
7+
8+
### Just starting a project?
9+
Check out our guides to get your project off on the right foot!
10+
11+
- [The GitHub Repo Guide](wiki-guide/GitHub-Repo-Guide.md): This page reviews expected and suggested GitHub repository contents, as well as structural considerations.
12+
13+
- [The Hugging Face Repo Guide](wiki-guide/Hugging-Face-Repo-Guide.md): Analogous expected and suggested repository contents for Hugging Face repositories; there are notable differences from GitHub in both content and structure.
14+
15+
- [Metadata Guide](wiki-guide/Metadata-Guide.md): Guide to metadata collection and documentation. This closely follows the [HF Dataset Card Template](wiki-guide/HF_DatasetCard_Template_mkdocs.md) sections.
16+
17+
### Project repo up, what's next?
18+
Check out our workflow guides for how to interact with your new repo:
19+
20+
- [The GitHub Workflow](wiki-guide/The-GitHub-Workflow.md): This page mainly focuses on branching and the PR process.
21+
22+
- [The Hugging Face Workflow](wiki-guide/The-Hugging-Face-Workflow.md): Analogous workflow directions for Hugging Face; there are notable differences from GitHub in how this process works practically, though the concept is the same.
23+
24+
### Project management or organization got you down?
25+
Discover new tools to help:
26+
27+
- [Guide to GitHub Projects](wiki-guide/Guide-to-GitHub-Projects.md): This page focuses on GitHub's project management tool, Projects, which integrates issues and pull requests into a unified task board to keep tabs on how your project is progressing. Labels, milestones, and assignee tags provide improved organization, and allow for more focused views.
28+
29+
- [Helpful Tools for your Workflow](wiki-guide/Helpful-Tools-for-your-Workflow.md): Collection of useful tools to facilitate and improve workflows. Comments and recommendations encouraged!
30+
31+
- [Virtual Environments](wiki-guide/Virtual-Environments.md): Summary of `conda` and `pip` environments: how to make, use, and share them.
32+
33+
### Other pages of note
34+
- [Glossary for Imageomics](wiki-guide/Glossary-for-Imageomics.md): Collection of terms used in imageomics. The goal is to ensure all participating domains are represented, thus facilitating interdisciplinary communication. This is a group effort, please check it out and add terms you think should be there!
35+
- [Command Line Cheat Sheet](wiki-guide/Command-Line-Cheat-Sheet.md): Collection of useful bash, emacs, and git commands.
36+
37+
<br>
38+
<br>
39+
40+
!!! question "[Questions, Comments, or Concerns?](https://github.com/Imageomics/Imageomics-guide/issues)"
1.12 MB
Binary file not shown.

wiki-guide/Command-Line-Cheat-Sheet.md renamed to docs/wiki-guide/Command-Line-Cheat-Sheet.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ See also [GitHub's Markdown Guide](https://docs.github.com/en/get-started/writin
2929
| `git checkout <branch>` | checkout branch |
3030
| `git branch -d <branch>` | delete branch |
3131

32-
**Usual Process:**
33-
After making changes to a file, check the status of your current working branch (with `git status`). Then, you "add" the file, state what is new about the file ("commit the change"), and `push` the file from your local copy of the repo to the remote copy:
32+
#### Usual Process
33+
After making changes to a file on a branch, check the status of your current working branch (with `git status`). Then, you "add" the file, state what is new about the file ("commit the change"), and `push` the file from your local copy of the repo to the remote copy:
3434

3535
```bash
3636
git add <filename>
@@ -41,10 +41,10 @@ git push
4141

4242
```
4343

44-
**Note:** If you need to update your branch with changes from `main`, first switch to the branch, then set pull from `main` instead of the current branch, as below.
44+
!!! note Note
45+
If you need to update your branch with changes from the remote `main`, first switch to the branch, then set pull from `main` instead of the current branch, as below.
46+
```bash
47+
git checkout <branch>
4548

46-
```bash
47-
git checkout <branch>
48-
49-
git pull origin main
50-
```
49+
git pull origin main
50+
```

0 commit comments

Comments
 (0)