Update Documentation Overview and Conventions #2749
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
component: documentation
Documentation issue
priority: low
Low Priority
requestor: METplus Team
METplus Development Team
type: task
An actionable item of work
Milestone
Describe the Task
Addition 1
Add "include" section to the documentation before the Literal Include section.
Please use the following description with the title "Include Text From a File":
The "include" directive reads a text file. It will include the information from the text file in the page where it is referenced. In this example, the "include" directive:
adds the text in the existing_builds.rst into the METplus Release Information chapter. Note that this directive is not visible in viewing the GitHub release-notes.rst file but it is visible by in viewing the raw version of that file. In this example, the existing_builds.rst file is located in the same directory as the release-notes.rst file. If the existing_builds.rst file were located in a different file, a relative path to the file should be provided.
See Including an External Document Fragment for more information about the "include" directive.
Lisa's Notes:
Using "include" will seamlessly transition the "included" documentation file into the new page. There will be no separate text boxes. This feature was used frequently in the Release Notes. This can keep the need to update documentation to a minimum (Julie asks, why do you say that it can keep the need to update the documentation to a minimum? I don't understand). In this example, the "include" adds the existing_builds.rst file into the Release Notes. On the GitHub web page
It is also important to note that the Existing Builds section is nowhere to be seen unless the raw section is opened and viewed. See line 26.
Video for how to get link: https://github.com/user-attachments/assets/ed3da419-904b-47c6-b550-b74884a44d5d
Also note, if the file is in a different directory, such as the Release Notes, the directory path must be provided with the "include" statement.
Add a code block to show the "include" statement.
Addition 2
Time Estimate
<1 day
Sub-Issues
Consider breaking the task down into sub-issues.
Relevant Deadlines
None
Funding Source
TBD
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
Task Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next official version
Select: METplus-Wrappers-X.Y.Z Development project for development toward the next official release
The text was updated successfully, but these errors were encountered: