Skip to content

Commit

Permalink
Point MPICH manpages again to "latest" version
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Aug 26, 2024
1 parent 9ae9d93 commit 58a6d6c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/MPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ end


function _doc_external(fname)
# Ideally we'd like to use the "latest" version of the docs, but MPICH v4.0
# at the moment seems to be the last version with all the docstrings.
mpich = "[MPICH](https://www.mpich.org/static/docs/v4.0/www3/$(fname).html)"
mpich = "[MPICH](https://www.mpich.org/static/docs/latest/www3/$(fname).html)"
# All the *_c functions are undocumented in OpenMPI website
if !endswith(string(fname), "_c")
openmpi = "[OpenMPI](https://docs.open-mpi.org/en/main/man-openmpi/man3/$(fname).3.html)"
# Few docstrings aren't available for MPICH
if fname in (:MPI_Status_c2f, :MPI_Status_f2c) || startswith(string(fname), "MPI_Type_create_f90_")
if startswith(string(fname), "MPI_Type_create_f90_")
return """
- `$fname` man page: $(openmpi)
"""
Expand Down

0 comments on commit 58a6d6c

Please sign in to comment.