-
Notifications
You must be signed in to change notification settings - Fork 2
Add contributing and development docs #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3971af8
add docs details
gwaybio f74e84d
add workflows
gwaybio e91ac6c
check dois
gwaybio e4a7af2
add mdformatter to precommit
gwaybio 7195d97
add dependabot
gwaybio 752283c
Merge main into add-docs, resolve conflicts accepting content-fill ch…
gwaybio eb1ed62
fix links and link check
gwaybio d76638e
markdown formatting checks incorrectly flags content that hugo requires
gwaybio 5141a1f
restore emojies
gwaybio eff3555
Merge branch 'main' into add-docs
gwaybio d3535ef
Merge branch 'main' into add-docs
gwaybio 02b8900
group dependabot and remove all dois
gwaybio dbc8893
ingore words that shouldnt trigger misspellings
gwaybio d4a19cb
ignore commune
gwaybio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Words codespell should not flag as misspellings. | ||
| # Format: one word per line (case-insensitive). | ||
| # Add a comment above each entry explaining why it is excluded. | ||
|
|
||
| # "patter" appears in Cell Press journal DOI URLs (doi.org/10.1016/j.patter.*) | ||
| patter | ||
|
|
||
| # "mAP" (mean Average Precision) — scientific metric abbreviation used in copairs docs | ||
| # codespell may flag the lowercase form "map" variant; list both cases to be safe | ||
| mAP | ||
|
|
||
| # "Commun" — abbreviation for "Communications" used in Nature citation style (e.g. Nat. Commun.) | ||
| Commun |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| version: 2 | ||
| updates: | ||
| # Keep GitHub Actions versions current | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: monthly | ||
| groups: | ||
| actions: | ||
| patterns: | ||
| - "*" | ||
|
|
||
| # Keep pre-commit hook revisions current | ||
| - package-ecosystem: pre-commit | ||
| directory: / | ||
| schedule: | ||
| interval: monthly | ||
| groups: | ||
| pre-commit: | ||
| patterns: | ||
| - "*" |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: Link check | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| link-check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Check links with lychee | ||
| uses: lycheeverse/lychee-action@v2 | ||
| with: | ||
| # Check all Markdown files in content/ and the root-level docs | ||
| args: >- | ||
| --verbose | ||
| --no-progress | ||
| --exclude-path node_modules | ||
| --exclude "^https://forum\\.image\\.sc/" | ||
| --exclude "^https://www\\.broadinstitute\\.org/" | ||
| --exclude "^https://doi\\.org/" | ||
| 'content/**/*.md' | ||
| '*.md' | ||
| fail: true | ||
This file contains hidden or 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 hidden or 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,27 +1,36 @@ | ||
| # See https://pre-commit.com for more information | ||
| # See https://pre-commit.com/hooks.html for more hooks | ||
| --- | ||
| # Exclude vendored theme — it is not our code to lint | ||
| exclude: ^themes/ | ||
|
|
||
| repos: | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v4.5.0 | ||
| rev: v6.0.0 | ||
| hooks: | ||
| - id: trailing-whitespace | ||
| - id: end-of-file-fixer | ||
| - id: check-added-large-files | ||
| - id: detect-private-key | ||
| # checking spelling | ||
| - repo: https://github.com/codespell-project/codespell | ||
| rev: v2.2.6 | ||
| rev: v2.4.2 | ||
| hooks: | ||
| - id: codespell | ||
| args: | ||
| - --ignore-words=.codespell-ignore-words.txt | ||
| # checking markdown formatting | ||
| - repo: https://github.com/executablebooks/mdformat | ||
| rev: 0.7.17 | ||
| rev: 1.0.0 | ||
| hooks: | ||
| - id: mdformat | ||
| exclude: ^content/ | ||
| additional_dependencies: | ||
| - mdformat-gfm | ||
| - mdformat-gfm==1.0.0 | ||
| - mdformat-frontmatter==2.0.10 | ||
| # HTML linting — exclude Hugo template files (contain {{ }} syntax) | ||
| - repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs | ||
| rev: v1.1.2 | ||
| hooks: | ||
| - id: htmllint | ||
| exclude: ^layouts/ |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Contributing to cytomining.github.io | ||
|
|
||
| Thank you for your interest in contributing! | ||
|
|
||
| ## Code of conduct | ||
|
|
||
| Please uphold our [code of conduct](https://github.com/cytomining/.github/blob/main/CODE_OF_CONDUCT.md). | ||
| Report unacceptable behavior to cytodata.info@gmail.com. | ||
|
|
||
| ## Reporting issues | ||
|
|
||
| Open a [GitHub issue](https://github.com/cytomining/cytomining.github.io/issues) with a clear description of the problem (e.g., broken link, outdated content, rendering bug). | ||
|
|
||
| ## Contributing changes | ||
|
|
||
| 1. Fork the repository and create a branch from `main`. | ||
| 1. Make your changes. See [README.md](README.md) for local development setup. | ||
| 1. Open a pull request against `main` with a clear description of what changed and why. | ||
|
|
||
| Please keep pull requests focused on a single change. All status checks must pass before merge. | ||
|
|
||
| ## Content guidelines | ||
|
|
||
| - Keep tool descriptions factual and concise. | ||
| - Follow the frontmatter and section order used in existing content files. | ||
| - Verify any external links you add are reachable. |
This file contains hidden or 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,8 +1,62 @@ | ||
| # Cytomining organization GitHub Pages configuration | ||
| # cytomining.github.io | ||
|
|
||
| This repo includes content which helps create links via GitHub Pages related to the Cytomining Organization. | ||
| Source for the [Cytomining organization website](https://cytomining.github.io/), built with [Hugo](https://gohugo.io/) and the [Congo](https://jpanther.github.io/congo/) theme. | ||
|
|
||
| ## Development | ||
| ## Prerequisites | ||
|
|
||
| You may place HTML content within the `/docs` folder, which is then rendered on merge to `main`. | ||
| We adapt work here from [the documentation found in this Gist](https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7). | ||
| - [Hugo extended](https://gohugo.io/installation/) v0.161.1 or later | ||
|
|
||
| ## Local development | ||
|
|
||
| ```bash | ||
| git clone https://github.com/cytomining/cytomining.github.io.git | ||
| cd cytomining.github.io | ||
|
|
||
| # Serve locally with live reload | ||
| hugo server | ||
|
|
||
| # Build for production | ||
| hugo --minify | ||
| ``` | ||
|
|
||
| The site is served at `http://localhost:1313/` by default. | ||
|
|
||
| ## Pre-commit hooks | ||
|
|
||
| This repo uses [pre-commit](https://pre-commit.com/) to enforce formatting and catch common issues before every commit. | ||
|
|
||
| ```bash | ||
| pip install pre-commit | ||
| pre-commit install | ||
| ``` | ||
|
|
||
| After installation, hooks run automatically on `git commit`. To run them manually against all files: | ||
|
|
||
| ```bash | ||
| pre-commit run --all-files | ||
| ``` | ||
|
|
||
| ## Adding or editing a tool page | ||
|
|
||
| Tool pages live in `content/tools/`. Each file is a Markdown file with frontmatter. | ||
|
|
||
| Minimal frontmatter for a new tool page: | ||
|
|
||
| ```yaml | ||
| --- | ||
| title: "Tool Name" | ||
| description: "One-sentence description of what this tool does." | ||
| showDate: false | ||
| showAuthor: false | ||
| --- | ||
| ``` | ||
|
|
||
| Follow the section order used in existing pages: logo image(s), 1–2 sentence intro, **Key capabilities** bullet list, link to documentation or GitHub, and optionally a **Publication** section. | ||
|
|
||
| ## Deployment | ||
|
|
||
| Pushes to `main` trigger the [hugo.yaml](.github/workflows/hugo.yaml) GitHub Actions workflow, which builds the site and deploys it to GitHub Pages automatically. | ||
|
|
||
| ## Theme | ||
|
|
||
| This site uses [Congo v2.13.0](https://github.com/jpanther/congo). Theme configuration lives in `config/_default/params.toml`. |
This file contains hidden or 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,4 +1,4 @@ | ||
| --- | ||
| title: "Cytomining" | ||
| description: "Open-source tools for single-cell image-based profiling" | ||
| title: Cytomining | ||
| description: Open-source tools for single-cell image-based profiling | ||
| --- |
This file contains hidden or 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 hidden or 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,6 +1,6 @@ | ||
| --- | ||
| title: "Tools" | ||
| description: "Production-ready tools for image-based profiling bioinformatics." | ||
| title: Tools | ||
| description: Production-ready tools for image-based profiling bioinformatics. | ||
| --- | ||
|
|
||
| The Cytomining ecosystem provides a suite of production-ready tools for every stage of the image-based profiling workflow. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.