Skip to content

Commit 62479ea

Browse files
committed
test: add reference outputs
1 parent 5c13ec9 commit 62479ea

34 files changed

+271
-0
lines changed

test/reference_outputs/fields.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
- `a`: one
3+
4+
- `b`: two
5+
6+
- `c`
7+
8+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f

test/reference_outputs/license.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The DocStringExtensions.jl package is licensed under the MIT "Expat" License:
2+
3+
> Copyright (c) 2016: Michael Hatherly.
4+
>
5+
> Permission is hereby granted, free of charge, to any person obtaining a copy
6+
> of this software and associated documentation files (the "Software"), to deal
7+
> in the Software without restriction, including without limitation the rights
8+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
> copies of the Software, and to permit persons to whom the Software is
10+
> furnished to do so, subject to the following conditions:
11+
>
12+
> The above copyright notice and this permission notice shall be included in all
13+
> copies or substantial portions of the Software.
14+
>
15+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
> SOFTWARE.
22+
>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
```julia
3+
f(x)
4+
```
5+
6+
defined at [`[...]DocStringExtensions.jl/test/TestModule/M.jl:5`](https://github.com/JuliaDocs/NonExistent.jl/tree/[...]/M.jl#L5).
7+
8+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
```julia
3+
f(x)
4+
5+
```
6+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
- [`f`](@ref)
3+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
- `Base`
3+
- `Core`
4+

test/reference_outputs/readme.txt

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# DocStringExtensions
2+
3+
*Extensions for Julia's docsystem.*
4+
5+
| **Documentation** | **Build Status** |
6+
|:-------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------:|
7+
| [![][docs-stable-img]][docs-stable-url] [![][docs-latest-img]][docs-latest-url] | [![CI][github-action-img]][github-action-url] [![][codecov-img]][codecov-url] |
8+
9+
## Installation
10+
11+
The package can be added using the Julia package manager. From the Julia REPL, type `]`
12+
to enter the Pkg REPL mode and run
13+
14+
```
15+
pkg> add DocStringExtensions
16+
```
17+
18+
## Documentation
19+
20+
- [**STABLE**][docs-stable-url] — **most recently tagged version of the documentation.**
21+
- [**LATEST**][docs-latest-url] — *in-development version of the documentation.*
22+
23+
## Project Status
24+
25+
The package is tested and developed against Julia `1.0`, as well as the latest `stable` and `nightly` versions on Linux, OS X, and Windows,
26+
but there are versions of the package that work on older versions of Julia.
27+
28+
## Contributing and Questions
29+
30+
Contributions are very welcome, as are feature requests and suggestions. Please open an [issue][issues-url] if you encounter any problems. If you have a question then feel free to ask for help in the [Gitter chat room][gitter-url].
31+
32+
[gitter-url]: https://gitter.im/juliadocs/users
33+
34+
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
35+
[docs-latest-url]: https://DocStringExtensions.juliadocs.org/latest
36+
37+
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
38+
[docs-stable-url]: https://DocStringExtensions.juliadocs.org/stable
39+
40+
[github-action-img]: https://github.com/JuliaDocs/DocStringExtensions.jl/actions/workflows/ci.yml/badge.svg
41+
[github-action-url]: https://github.com/JuliaDocs/DocStringExtensions.jl/actions/workflows/ci.yml
42+
43+
[codecov-img]: https://codecov.io/gh/JuliaDocs/DocStringExtensions.jl/branch/master/graph/badge.svg
44+
[codecov-url]: https://codecov.io/gh/JuliaDocs/DocStringExtensions.jl
45+
46+
[issues-url]: https://github.com/JuliaDocs/DocStringExtensions.jl/issues
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
```julia
3+
g(; ...)
4+
g(x; ...)
5+
6+
```
7+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
```julia
3+
g(; ...)
4+
g(x; ...)
5+
g(x, y; ...)
6+
g(x, y, z; kwargs...)
7+
8+
```
9+

0 commit comments

Comments
 (0)