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

Documented pulp_file bindings client #386

Closed
wants to merge 1 commit into from
Closed

Conversation

fao89
Copy link
Member

@fao89 fao89 commented Apr 27, 2020

@pulpbot
Copy link
Member

pulpbot commented Apr 27, 2020

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',
Copy link
Member Author

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

Comment on lines +29 to +33
echo "## Client Documentation" >> client.md
for f in client/*
do
echo "- [$(basename ${f%.md*})](${f})" >> client.md
done
Copy link
Member Author

Choose a reason for hiding this comment

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

Creating the toctree section

Comment on lines +166 to +195
## 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)
Copy link
Member Author

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 \
Copy link
Member Author

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

@fao89
Copy link
Member Author

fao89 commented May 15, 2020

Closing as it is not interesting to have two formats

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.

None yet

2 participants