Skip to content

Documenting MAPDL commands with extensive command documentation #874

Open
@germa89

Description

@germa89

Description

Some commands such *GET, TB and many more have very long documentation in the command reference. I feel like, it is very long. Some Note sections cover all the possible configurations of those commands.

Definitely we are aiming to have everything very well documented. However, I wonder if a docstring is the right place for this, keeping in mind that those pages require quite a lot of manual work to make it match Sphinx requirements. Sometimes, I even feel the Sphinx tool is not even enough to cover all the possibilities the command reference offer.

Current situation

We have trimmed down the documentation to mention only the arguments, but most of the cases we don't go further.

Possible solutions.

I see two possibilities here:

  • We use the docstring and we put everything there. Even big tables.

  • We use a separate documentation page for the big tables, cover cases, etc. We link it in the command docstring. We leave in the doc string main and basic info, such as parameters, mains notes, returns.

Any of the options raise the problem of documentation updating. If an automated process to get the command reference info is ever in place, much of the manual work is going to be overwritten.

Issues related

#774

Metadata

Metadata

Labels

CI/CDRelated with CICD, Github Actions, etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions