Skip to content

Commit 844d26e

Browse files
authored
Merge pull request #569 from giordano/mg/docs
[docs] Fix broken links and remove references to non-existing docstrings
2 parents 5cf57d8 + 58a4576 commit 844d26e

File tree

9 files changed

+20
-35
lines changed

9 files changed

+20
-35
lines changed

.github/workflows/Documenter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
- name: Build and deploy
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
run: julia --project=docs/ docs/make.jl
34+
run: julia --color=yes --project=docs/ docs/make.jl

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ makedocs(
7272
"advanced.md",
7373
],
7474
"refindex.md",
75-
]
75+
],
76+
strict = true,
7677
)
7778

7879
deploydocs(

docs/src/advanced.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ MPI.infoval
3737
## Error handler objects
3838

3939
```@docs
40-
MPI.ErrorHandler
40+
MPI.Errhandler
4141
MPI.get_errorhandler
4242
MPI.set_errorhandler!
4343
```
44+
45+
## Miscellaneous
46+
47+
```@docs
48+
MPI.Consts.@const_ref
49+
```

docs/src/comm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ MPI.Intercomm_merge
4646

4747
### Miscellaneous
4848

49-
```
49+
```@docs
5050
MPI.universe_size
5151
MPI.tag_ub
5252
```

docs/src/configuration.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ allow the user to choose which MPI implementation to use for a project. This pro
5555
a single source of truth that can be used for JLL packages (Julia packages providing C libraries)
5656
that link against MPI, localizes the choice of MPI implementation to a project.
5757

58-
Users can use the provided [`use_system_binary`](@ref) or [`use_jll_binary`](@ref)
59-
to switch MPI implementations. By default, the JLL-provided binaries are used.
58+
Users can use the provided [`use_system_binary`](@ref MPIPreferences.use_system_binary) or
59+
[`use_jll_binary`](@ref MPIPreferences.use_jll_binary) to switch MPI implementations. By
60+
default, the JLL-provided binaries are used.
6061

6162
### Migration from MPI.jl `v0.19`
6263

@@ -106,8 +107,8 @@ The following MPI implementations should work out-of-the-box with MPI.jl:
106107
- [Cray MPICH](https://docs.nersc.gov/development/compilers/wrappers/)
107108
- [Fujitsu MPI](https://www.fujitsu.com/global/about/resources/publications/technicalreview/2020-03/article07.html#cap-03)
108109

109-
If the implementation is changed, you will need to use [`MPI.use_system_binary()`](@ref) or
110-
[`MPI.use_jll_binary()`](@ref).
110+
If the implementation is changed, you will need to use [`MPI.use_system_binary()`](@ref MPIPreferences.use_system_binary)
111+
or [`MPI.use_jll_binary()`](@ref MPIPreferences.use_jll_binary).
111112

112113
#### Advanced options
113114

@@ -129,7 +130,8 @@ but also open an issue such that the automatic detection can be improved.
129130
Preferences are merged across the Julia load path, such that it is feasible to provide a module file that appends a path to
130131
`JULIA_LOAD_PATH` variable that contains system-wide preferences.
131132

132-
As an example you can use [`MPI.use_system_binary()`](@ref) to create a file `LocalPreferences.toml` containing:
133+
As an example you can use [`MPI.use_system_binary()`](@ref MPIPreferences.use_system_binary)
134+
to create a file `LocalPreferences.toml` containing:
133135

134136
```toml
135137
[MPIPreferences]

docs/src/environment.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ MPI.Is_thread_main
2323
MPI.Initialized
2424
MPI.Finalize
2525
MPI.Finalized
26-
MPI.universe_size
2726
```

docs/src/group.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,11 @@ MPI.Group
1111
MPI.Comparison
1212
```
1313

14-
## Constants
15-
16-
```@docs
17-
MPI.GROUP_NULL
18-
MPI.GROUP_EMPTY
19-
```
20-
2114
## Functions
2215

2316
### Operations
2417

2518
```@docs
2619
MPI.Group_size
2720
MPI.Group_rank
28-
MPI.Group_compare
29-
```
30-
31-
### Constructors
32-
33-
```@docs
34-
MPI.Group_difference
35-
MPI.Group_intersection
36-
MPI.Group_union
37-
MPI.Group_excl
38-
MPI.Group_incl
3921
```

docs/src/io.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ MPI.File.get_byte_offset
1717

1818
```@docs
1919
MPI.File.sync
20+
MPI.File.get_atomicity
21+
MPI.File.set_atomicity
2022
```
2123

2224
## Data access

docs/src/pointtopoint.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
MPI.Request
77
MPI.RequestSet
88
MPI.Status
9-
MPI.StatusRef
109
```
1110

1211
### Fields
@@ -23,12 +22,6 @@ MPI.Status.error::Cint
2322
MPI.Get_count
2423
```
2524

26-
## Constants
27-
28-
```@docs
29-
MPI.STATUS_ZERO
30-
```
31-
3225
## Blocking communication
3326

3427
```@docs

0 commit comments

Comments
 (0)