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

Improve documentation layout #64

Closed
5 tasks done
jorgepiloto opened this issue Mar 22, 2022 · 5 comments
Closed
5 tasks done

Improve documentation layout #64

jorgepiloto opened this issue Mar 22, 2022 · 5 comments

Comments

@jorgepiloto
Copy link
Member

jorgepiloto commented Mar 22, 2022

🐞 Problems

Writing documentation is tedious. Without a proper layout, adding or modifying existing guidelines may become a serious problem. After reviewing in deep the current status of the developers guidelines, I experienced the following problems:

💡 Suggested Solution

Using the recently published Docs for Developers and the popular talk What nobody tells you about documentation, the following structure could be used for the PyAnsys Developers Guide.

  • How-To
    • All guidelines and step-by-step tutorials for achieving a given goal.
  • Packaging Style
    • For packaging a project.
  • Coding Style
    • Anything about code style, minimum style requirements, available formatting tools...
  • Doc style
    • Anything about docstring style, API doc layout, doc formatting tools...
  • Abstractions
    • Theoretical knowledge. Not a "how-to", just explanations on fundamental PyAnsys topics.
@akaszynski
Copy link
Contributor

akaszynski commented Mar 22, 2022

It is difficult to find information: it is there, but not well organized.

Quite right, and having a fresh set of eyes to look at this is quite helpful. Issue is that we've had several developers (including myself) add sections over time, and these sections are often nested within other sections. I recall once looking for a section I wrote myself and couldn't even find it; I had to search for it.

Lack of topics.

100% agree with sphinx tabs. That's helpful when letting users know about options/choices when selecting between several options without overwhelming them with a laundry list or long document.

Suggested Solution...

Agree with the refactor. Recommend that you first reorganize and then rewrite by topic.

@jorgepiloto
Copy link
Member Author

jorgepiloto commented Mar 28, 2022

Linking here ansys/ansys-templates#39 since ansys-templates documentation points to a Contributing section which will be created when implementing this.

@jorgepiloto
Copy link
Member Author

We should avoid as much as possible the usage of underscore (and even dashes) in the page URL. Some arguments supporting this are:

The slug of the page gets auto-generated according to the name of the directories and the RST file. Some of these directories hold dashes and underscores. This is the origin of those symbols in the current dev guide.

This is not a big problem but we could take advantage of this refactor proposal to apply this changes.

@jorgepiloto
Copy link
Member Author

I just remembered about this extension: https://github.com/executablebooks/sphinx-external-toc

@jorgepiloto
Copy link
Member Author

Finally, closing this. All tasks were completed.

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

No branches or pull requests

2 participants