Skip to content
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

Sbachmei/mic 5561/docstring linking #141

Merged
merged 19 commits into from
Jan 13, 2025

Conversation

stevebachmeier
Copy link
Collaborator

@stevebachmeier stevebachmeier commented Jan 8, 2025

Improve docstring linking

Description

Changes and notes

We agreed as a team that the first mention of an external object should be

linked and then all others can simply be double backticked. This does that.

I also reversed the colors between a linked object and highlighed so that
links are red and highlighted (double backticked) are black.

image

Verification and Testing

Base automatically changed from sbachmei/mic-5561/improve-docstrings-graph_components-implementation to main January 8, 2025 18:24
@stevebachmeier stevebachmeier force-pushed the sbachmei/mic-5561/docstring-linking branch from 7e50cd2 to b657e22 Compare January 8, 2025 18:52
@@ -1,3 +1,12 @@
.wy-nav-content {
max-width: 1000px !important;
}
/* make links red and bold */
code.xref {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This makes cross-references (which I think are only things like :class:, :meth:, etc) red instead of black

@stevebachmeier stevebachmeier marked this pull request as ready for review January 8, 2025 20:38
Comment on lines 55 to 56
A ``Config`` is a container that includes the combination of the user-provided
pipeline, input data, and computing environment specifications. It is a nested

Choose a reason for hiding this comment

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

Nit:

Suggested change
A ``Config`` is a container that includes the combination of the user-provided
pipeline, input data, and computing environment specifications. It is a nested
A ``Config`` is an object that contains the user-provided specifications for the
pipeline, input data, and computing environment. It is a nested


Parameters
----------
pipeline_specification
The path to the pipeline specification yaml file.
The path to the pipeline specification file.

Choose a reason for hiding this comment

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

Do we say somewhere else what these specifications files are supposed to look like?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not yet, no. I'd imagine that will show up in a concept or the quickstart or soemthing at some point. I just didn't feel the need to specify yaml here in case it ever does change or we support different formats

@stevebachmeier stevebachmeier merged commit 53a20a0 into main Jan 13, 2025
10 of 12 checks passed
@stevebachmeier stevebachmeier deleted the sbachmei/mic-5561/docstring-linking branch January 13, 2025 18:08
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.

3 participants