Skip to content

Documentation beautification on the rst pages #11340

Open
@zerothi

Description

@zerothi

Is your feature request related to a problem? Please describe.
The new documentation produces some weird looking links on when viewed on a website

A reference: https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Win_allocate.3.html#mpi-win-allocate

Describe the solution you'd like
In the above link I would like to:

  1. Change ERRORS.rst to list form of the
    Custom MPI error handlers can be created by calling: [MPI_Comm_create_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Comm_create_errhandler.3.html#mpi-comm-create-errhandler) [MPI_File_create_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_File_create_errhandler.3.html#mpi-file-create-errhandler)[MPI_Session_create_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Session_create_errhandler.3.html#mpi-session-create-errhandler) [MPI_Win_create_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Win_create_errhandler.3.html#mpi-win-create-errhandler)
    
    Predefined and custom error handlers can be set by calling: [MPI_Comm_set_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Comm_set_errhandler.3.html#mpi-comm-set-errhandler) [MPI_File_set_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_File_set_errhandler.3.html#mpi-file-set-errhandler) [MPI_Session_set_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Session_set_errhandler.3.html#mpi-session-set-errhandler) [MPI_Win_set_errhandler(3)](https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Win_set_errhandler.3.html#mpi-win-set-errhandler)
    
    the above items would become a list of links (easier for the eye)
  2. In the See Also section I would also like to make the entries a list in that case.
  3. Try and fix the missing spaces in the Notes section.

I would not start these changes without confirmation, let me know if you think these changes would apply all-over the rst documentations. Also, if you want all in one PR? :)

  • Beautification of ERRORS.rst
    • Listify the elements
    • add links to the routines listed
    • Remove (3) in function links
  • Listify See also sections
  • Add missing links across the man-pages
  • Make constants and other code use backticks to highlight code pieces
  • Once Documentation of global variables #11359 is completed, make links to the constants page (likely will be a separate PR)
  • Remove references to "Sun Fortran" -- they can probably just be references to Fortran these days (one of the main initial authors of the nroff man pages was a docs writer at Sun)
  • Make linking to man pages easier, per ideas like Beautification of rst documentation #11367 (comment)
  • Move section 5 man pages to more appropriate sections (perhaps 7?)
  • Copy code examples from deprecated routines to new (see MPI_Type_struct and MPI_Type_create_struct)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions