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
Documented pulp_file bindings client #386
Conversation
|
Attached issue: https://pulp.plan.io/issues/6518 |
| # app setup hook | ||
| def setup(app): | ||
| app.add_config_value('recommonmark_config', { | ||
| 'auto_toc_tree_section': 'Client Documentation', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defining the section that will be used as toctree
| echo "## Client Documentation" >> client.md | ||
| for f in client/* | ||
| do | ||
| echo "- [$(basename ${f%.md*})](${f})" >> client.md | ||
| done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creating the toctree section
| ## Client Documentation | ||
| - [AsyncOperationResponse](client/AsyncOperationResponse.md) | ||
| - [ContentFilesApi](client/ContentFilesApi.md) | ||
| - [ContentSummary](client/ContentSummary.md) | ||
| - [DistributionsFileApi](client/DistributionsFileApi.md) | ||
| - [ExportersFileExportsApi](client/ExportersFileExportsApi.md) | ||
| - [ExportersFilesystemApi](client/ExportersFilesystemApi.md) | ||
| - [Export](client/Export.md) | ||
| - [FileFileContent](client/FileFileContent.md) | ||
| - [FileFileDistribution](client/FileFileDistribution.md) | ||
| - [FileFileFileSystemExporter](client/FileFileFileSystemExporter.md) | ||
| - [FileFilePublication](client/FileFilePublication.md) | ||
| - [FileFileRemote](client/FileFileRemote.md) | ||
| - [FileFileRepository](client/FileFileRepository.md) | ||
| - [InlineResponse2001](client/InlineResponse2001.md) | ||
| - [InlineResponse2002](client/InlineResponse2002.md) | ||
| - [InlineResponse2003](client/InlineResponse2003.md) | ||
| - [InlineResponse2004](client/InlineResponse2004.md) | ||
| - [InlineResponse2005](client/InlineResponse2005.md) | ||
| - [InlineResponse2006](client/InlineResponse2006.md) | ||
| - [InlineResponse2007](client/InlineResponse2007.md) | ||
| - [InlineResponse200](client/InlineResponse200.md) | ||
| - [PublicationExport](client/PublicationExport.md) | ||
| - [PublicationsFileApi](client/PublicationsFileApi.md) | ||
| - [RemotesFileApi](client/RemotesFileApi.md) | ||
| - [RepositoriesFileApi](client/RepositoriesFileApi.md) | ||
| - [RepositoriesFileVersionsApi](client/RepositoriesFileVersionsApi.md) | ||
| - [RepositoryAddRemoveContent](client/RepositoryAddRemoveContent.md) | ||
| - [RepositorySyncURL](client/RepositorySyncURL.md) | ||
| - [RepositoryVersion](client/RepositoryVersion.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The toctree section
|
|
||
| export VERSION=$(http :24817/pulp/api/v3/status/ | jq --arg plugin $1 -r '.versions[] | select(.component == $plugin) | .version') | ||
|
|
||
| podman run -u $(id -u) --rm -v ${PWD}:/local openapitools/openapi-generator-cli:v4.2.3 generate \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
podman due dev environment, as it is likely to be done manually
|
Closing as it is not interesting to have two formats |
https://pulp.plan.io/issues/6659
closes #6659