-
Notifications
You must be signed in to change notification settings - Fork 139
Description
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 ->
SOLVEorOUTPUT.- Identify main tags dic (
*PARAMETERS->docstring parameters) - Create parser
- Create database
- Create writer
- Identify main tags dic (
- 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 orBeautifulSoupobject). -
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?