Skip to content

feat/docs string updates #774

@germa89

Description

@germa89

Current situation

The docs are not updated to the last 2021.2 version.

Proposal

  • Setup python environment -> Package to read XML (beautiful soup?)
  • Get the XML files (See Concerns 1)
  • Analyze a simple command -> SOLVE or OUTPUT.
    • Identify main tags dic (*PARAMETERS -> docstring parameters)
    • Create parser
    • Create database
    • Create writer
  • Analyze a complex/long command -> *GET
    • Adapt parser
    • Adapt database
    • Adapt writer

Concerns

  • Access to the XML, so far they are in a repo in TFS. Should I clone that repo? Or just the files to another repo? (keep both repos syncs) Thoughts: I think we should just copy/paste the files, or maybe implement some logic that pull the files from the repo, and check its changes.

  • Storing the processed data, I guess the best would be, either a RST file per command, or an unified database (labeling fields, close XML sort of structure). Thoughts: I feel like the best would be a file command. We can then have a way to interact with those files as methods (subclass a dict where the __getkey__ just return the parsed corresponding XML file as a class or BeautifulSoup object).

  • We might need to do some compromises regarding the amount of information we are input. For example, images, or commands with veeery long information (i.e. *GET)

  • Create also an MAPDL commands open website? Legal might complain?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions