Skip to content

docs: fix step numbering in README#343

Closed
incursio-xd wants to merge 2 commits intoOpenMS:mainfrom
incursio-xd:docs/readme-numbering-only
Closed

docs: fix step numbering in README#343
incursio-xd wants to merge 2 commits intoOpenMS:mainfrom
incursio-xd:docs/readme-numbering-only

Conversation

@incursio-xd
Copy link

@incursio-xd incursio-xd commented Feb 20, 2026

Fixes incorrect step numbering in the Docker setup section of README.md.

Only numbering was updated (no other documentation changes), as requested in the issue discussion.
Related to: #174

Summary by CodeRabbit

  • Documentation
    • Improved README clarity and formatting: added a new "Features" section, reorganized and reformatted local run and Docker build instructions, consolidated and re-ordered steps for readability, preserved links/notes, and reflowed explanatory text for a clearer developer setup experience.

@incursio-xd
Copy link
Author

Thanks for the feedback! I’ve updated the PR to keep only the step numbering fix and removed the additional documentation changes.

@coderabbitai
Copy link

coderabbitai bot commented Feb 20, 2026

📝 Walkthrough

Walkthrough

This PR updates README.md with reflowed text, a new "Features" section, reorganized Run Locally and Build with Docker instructions, and formatting/spacing adjustments. No source code, exported signatures, or runtime behavior were changed.

Changes

Cohort / File(s) Summary
Documentation Restructuring
README.md
Added a "Features" section; reformatted and reflowed content; reordered and consolidated "Run Locally" and "Build with Docker" steps; adjusted spacing and inline code block placement. No functional code changes.

Possibly related PRs

Suggested reviewers

  • t0mdavid-m

Poem

🐇 I hopped through lines with careful cheer,
Tucked headings, steps, and features near,
No code was touched, just words arranged—
A tidy README, lightly changed. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: fix step numbering in README' accurately describes the main objective of the pull request - correcting step numbering in the README documentation without other content changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 76: Update README to consistently use Docker Compose v2 syntax: replace
all occurrences of the legacy "docker-compose" command (e.g., the
"docker-compose up -d --build" invocation) with the recommended "docker compose"
form so examples like "docker compose up -d --build" and "docker compose ps" use
the same binary; ensure both occurrences mentioned (the up command and the ps
command) are standardized and any related instructions or examples are updated
to match Compose v2.
- Around line 90-94: The docker run snippet is unclear and mismatched with the
text; update the README so the command is either removed OR clearly presented as
an alternative to docker-compose (e.g., "As an alternative to docker-compose,
run the container directly: docker run -p 8505:8501 openms_streamlit_template")
and fix the explanatory text to state that the host port 8505 is mapped to the
container's default Streamlit port 8501 (or change the command to docker run -p
8501:8501 if you intend the host to also be 8501); ensure the sentence
referencing the port reflects the chosen mapping and that the docker run example
is placed with explicit context.
- Line 79: The README has three fenced code blocks missing language tags
(violates MD040) — update the three backticks enclosing the docker-compose
output containing "[+] Running 2/2" to use a text/console tag (e.g. ```text),
the docker compose ps table starting with "CONTAINER ID   IMAGE ..." to use
```text, and the docker run command "docker run -p 8505:8501
openms_streamlit_template" to use ```bash so syntax highlighting is enabled and
markdownlint MD040 is satisfied.
- Line 70: Change the product name capitalization in the README sentence "Create
a temporary `.env` file with your Github token." to use the official casing
"GitHub" (capital H); locate the exact string in the README and replace "Github"
with "GitHub" so the sentence reads "Create a temporary `.env` file with your
GitHub token."
- Around line 50-68: The README mixes two descriptive list items (`Dockerfile`
and `Dockerfile_simple`) with the actual Docker setup steps, so the ordered
numbering for "Install Docker", "Test Docker", and "Clone the repository"
continues from 3 instead of restarting at 1; fix this by separating the two
Dockerfile descriptions from the setup steps (e.g., move `Dockerfile` and
`Dockerfile_simple` into their own paragraph or a bulleted list) and then start
a new ordered list for the setup steps beginning with "Install Docker", "Test
Docker", and "Clone the repository" so those headings render as steps 1, 2, 3.

cd streamlit-template
```
6. **Specify GitHub token (to download Windows executables).**
Create a temporary `.env` file with your Github token.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

"Github" should be "GitHub" (capital H)

The official product name uses a capital H. Flagged by LanguageTool.

📝 Proposed fix
-  Create a temporary `.env` file with your Github token.
+  Create a temporary `.env` file with your GitHub token.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Create a temporary `.env` file with your Github token.
Create a temporary `.env` file with your GitHub token.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~70-~70: The official name of this software platform is spelled with a capital “H”.
Context: ...reate a temporary .env file with your Github token. It should contain only one lin...

(GITHUB)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 70, Change the product name capitalization in the README
sentence "Create a temporary `.env` file with your Github token." to use the
official casing "GitHub" (capital H); locate the exact string in the README and
replace "Github" with "GitHub" so the sentence reads "Create a temporary `.env`
file with your GitHub token."

7. **Build & Launch the App**
To build and start the containers. From the project root directory:
```bash
docker-compose up -d --build
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Inconsistent docker-compose vs docker compose command syntax

Line 76 uses docker-compose up -d --build (Compose v1 standalone binary) while line 84 uses docker compose ps (Compose v2 plugin syntax). These are different binaries and may not both be available on the same system. Pick one consistently — Compose v2 (docker compose) is the current recommended form.

📝 Proposed fix (standardise on Compose v2)
-  docker-compose up -d --build
+  docker compose up -d --build

Also applies to: 84-84

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 76, Update README to consistently use Docker Compose v2
syntax: replace all occurrences of the legacy "docker-compose" command (e.g.,
the "docker-compose up -d --build" invocation) with the recommended "docker
compose" form so examples like "docker compose up -d --build" and "docker
compose ps" use the same binary; ensure both occurrences mentioned (the up
command and the ps command) are standardized and any related instructions or
examples are updated to match Compose v2.

docker-compose up -d --build
```
At the end, you should see this:
```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fenced code blocks are missing language specifiers

Three code blocks have no language tag, which violates markdownlint rule MD040 and degrades syntax-highlighting in rendered documentation.

📝 Proposed fix

Line 79 (docker-compose output — use text or console):

-  ```
+  ```text
   [+] Running 2/2

Line 85 (docker compose ps table — use text):

-  ```
+  ```text
   CONTAINER ID   IMAGE ...

Line 91 (docker run command — use bash):

-  ```
+  ```bash
   docker run -p 8505:8501 openms_streamlit_template

Also applies to: 85-85, 91-91

🧰 Tools
🪛 markdownlint-cli2 (0.21.0)

[warning] 79-79: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 79, The README has three fenced code blocks missing
language tags (violates MD040) — update the three backticks enclosing the
docker-compose output containing "[+] Running 2/2" to use a text/console tag
(e.g. ```text), the docker compose ps table starting with "CONTAINER ID   IMAGE
..." to use ```text, and the docker run command "docker run -p 8505:8501
openms_streamlit_template" to use ```bash so syntax highlighting is enabled and
markdownlint MD040 is satisfied.

Comment on lines +90 to +94
To map the port to default streamlit port `8501` and launch.
```
docker run -p 8505:8501 openms_streamlit_template

```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

The trailing docker run command is disconnected and potentially confusing

After a complete docker-compose workflow (build, start, verify with docker compose ps), line 90 introduces docker run -p 8505:8501 openms_streamlit_template without explanation of when or why to use it. Additionally, the accompanying text says "map the port to default streamlit port 8501" yet the external port is 8505, not 8501 — which is likely to confuse readers. If this command is intended as an alternative to docker-compose, that context should be made explicit; otherwise, consider removing it.

🧰 Tools
🪛 markdownlint-cli2 (0.21.0)

[warning] 91-91: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 90 - 94, The docker run snippet is unclear and
mismatched with the text; update the README so the command is either removed OR
clearly presented as an alternative to docker-compose (e.g., "As an alternative
to docker-compose, run the container directly: docker run -p 8505:8501
openms_streamlit_template") and fix the explanatory text to state that the host
port 8505 is mapped to the container's default Streamlit port 8501 (or change
the command to docker run -p 8501:8501 if you intend the host to also be 8501);
ensure the sentence referencing the port reflects the chosen mapping and that
the docker run example is placed with explicit context.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@README.md`:
- Line 75: The README contains the incorrect casing "Github" in the sentence
"Create a temporary `.env` file with your Github token"; update that string to
"GitHub" (capital G and H) so it reads "Create a temporary `.env` file with your
GitHub token" — locate the occurrence of "Github" in the README content and
replace it with "GitHub".
- Around line 81-101: Choose a consistent Docker CLI form and update the README
to use it everywhere (replace either "docker-compose up -d --build" or "docker
compose ps" so both use the same binary; prefer "docker compose" for Docker v2)
and add language specifiers to all fenced code blocks shown (e.g., add "bash"
after the opening backticks for the blocks containing "docker compose up -d
--build", the container status output, and "docker run -p 8505:8501
openms_streamlit_template") so markdownlint MD040 is satisfied.
- Around line 50-73: The numbered list currently mixes the Dockerfile
descriptions with the installation steps so "Install Docker" appears as step 3;
convert the first two numbered items ("Dockerfile" and "Dockerfile_simple"
descriptions) into an unordered list or a short paragraph (leave their text
as-is) and then start a new ordered list for the setup steps beginning with
"Install Docker" (the items "Install Docker", "Test Docker", "Clone the
repository", etc.) so numbering restarts at 1; update the README.md list markers
accordingly to ensure the setup guide is its own numbered sequence.
- Around line 97-101: The README's docker instruction text is inconsistent and
misleading: either update the command or the explanatory text and clarify
context. Change the sentence "map the port to default streamlit port `8501`" to
explicitly state "maps host port 8505 to container port 8501" if you keep the
command `docker run -p 8505:8501 openms_streamlit_template`, or change the
command to `docker run -p 8501:8501 openms_streamlit_template` to match the
original wording; also add a brief note after the docker run line explaining
this is an alternative to the docker-compose workflow and when to use the
standalone `docker run` (e.g., quick local test vs full compose stack).

@poshul poshul closed this Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants