Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
muppet-strings
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Hörnquist
muppet-strings
Commits
0be243cb
Commit
0be243cb
authored
Jun 4, 2023
by
Hugo Hörnquist
Browse files
Options
Downloads
Patches
Plain Diff
Documentation formatting fixes.
parent
07ba1d80
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
muppet/format.py
+5
-4
5 additions, 4 deletions
muppet/format.py
muppet/gather.py
+6
-6
6 additions, 6 deletions
muppet/gather.py
with
11 additions
and
10 deletions
muppet/format.py
+
5
−
4
View file @
0be243cb
...
...
@@ -1015,10 +1015,11 @@ def print_docstring(name: str, docstring: dict[str, Any]) -> str:
"""
Format docstrings as they appear in some puppet types.
Those types being
- puppet_classes,
- puppet_type_aliases, and
- defined_types
Those types being:
* puppet_classes,
* puppet_type_aliases, and
* defined_types
"""
global
param_doc
...
...
This diff is collapsed.
Click to expand it.
muppet/gather.py
+
6
−
6
View file @
0be243cb
...
...
@@ -22,12 +22,12 @@ class ModuleEntry:
"""
One entry in a module.
P
aram
eters
:
name - l
ocal name of the module, should always be the basename
of
path
path -
Absolute path in the filesystem where the module can be
found.
strings_output - o
utput of `puppet strings`.
:p
aram
name
:
L
ocal name of the module, should always be the basename
of path
:param
path
:
Absolute path in the filesystem where the module can be
found.
:param strings_output:
O
utput of
`
`puppet strings`
`
.
"""
name
:
str
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment