Add cowfile testing
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
880618346b
commit
9e12400772
6 changed files with 35 additions and 10 deletions
|
@ -8,6 +8,11 @@ version = "0.0.1"
|
|||
[[Base64]]
|
||||
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
|
||||
|
||||
[[Cowsay]]
|
||||
path = "/home/tchristensen/src/cowsay"
|
||||
uuid = "b6370f49-8ad1-4651-ad9e-3639b35da0e9"
|
||||
version = "0.1.0"
|
||||
|
||||
[[Dates]]
|
||||
deps = ["Printf"]
|
||||
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
|
||||
|
@ -90,8 +95,3 @@ uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
|
|||
|
||||
[[Unicode]]
|
||||
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
|
||||
|
||||
[[Cowsay]]
|
||||
path = ".."
|
||||
uuid = "b6370f49-8ad1-4651-ad9e-3639b35da0e9"
|
||||
version = "0.1.0"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[deps]
|
||||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
|
||||
Cowsay = "b6370f49-8ad1-4651-ad9e-3639b35da0e9"
|
||||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
|
||||
|
|
|
@ -15,6 +15,7 @@ makedocs(;
|
|||
),
|
||||
pages=[
|
||||
"Home" => "index.md",
|
||||
"Available Cowfiles" => "cows.md"
|
||||
],
|
||||
)
|
||||
|
||||
|
|
7
docs/src/cows.md
Normal file
7
docs/src/cows.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Cows
|
||||
|
||||
Examples of all the cowfiles available.
|
||||
|
||||
```@docs
|
||||
Cowsay.default
|
||||
```
|
|
@ -8,7 +8,3 @@ Documentation for [cowsay](https://github.com/MillironX/cowsay.jl).
|
|||
|
||||
```@index
|
||||
```
|
||||
|
||||
```@autodocs
|
||||
Modules = [Cowsay]
|
||||
```
|
||||
|
|
|
@ -1,3 +1,24 @@
|
|||
"""
|
||||
function default()
|
||||
|
||||
The original cowfile
|
||||
|
||||
# Example
|
||||
|
||||
```jldoctest
|
||||
julia> cowsay("Moo", cow=Cowsay.default)
|
||||
_____
|
||||
< Moo >
|
||||
-----
|
||||
\\ ^__^
|
||||
\\ (oo)\\_______
|
||||
(__)\\ )\\/\\
|
||||
||----w |
|
||||
|| ||
|
||||
|
||||
|
||||
```
|
||||
"""
|
||||
function default(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
thecow =
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue