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

DocGen collapsed sections option cannot be negated #5581

Closed
alnoki opened this issue Nov 15, 2022 · 0 comments
Closed

DocGen collapsed sections option cannot be negated #5581

alnoki opened this issue Nov 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@alnoki
Copy link
Contributor

alnoki commented Nov 15, 2022

Per the aptos CLI:

(econia) econia % aptos move document -h

--collapsed-sections
            Whether details should be put into collapsed sections. This is not supported by all
            markdown, but the github dialect. Defaults to true

With the --collapsed-sections option defaulting to true, there is no way to set it as false:

(econia) econia % aptos move document --collapsed-sections=false
error: The value 'false' was provided to '--collapsed-sections' but it wasn't expecting any more values

aptos move document [OPTIONS]

For more information try --help
(econia) econia % 

Hence there is no way to generate DocGen files with uncollapsed sections.

@wrwg @gregnazario @alinush @davidiw

@alnoki alnoki added the bug Something isn't working label Nov 15, 2022
alnoki added a commit to alnoki/aptos-core that referenced this issue Nov 15, 2022
@wrwg @davidiw @gregnazario @alinush 

Per aptos-labs#5581 , DocGen CLI options defaulting to true prohibit negation.
davidiw pushed a commit to alnoki/aptos-core that referenced this issue Dec 4, 2022
@wrwg @davidiw @gregnazario @alinush 

Per aptos-labs#5581 , DocGen CLI options defaulting to true prohibit negation.
davidiw pushed a commit that referenced this issue Dec 4, 2022
@wrwg @davidiw @gregnazario @alinush 

Per #5581 , DocGen CLI options defaulting to true prohibit negation.
@davidiw davidiw closed this as completed Dec 4, 2022
areshand pushed a commit to areshand/aptos-core-1 that referenced this issue Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants