Fix package name
This commit is contained in:
parent
a6783ea51a
commit
3365ffe30e
5 changed files with 13 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
name = "cowsay"
|
name = "Cowsay"
|
||||||
uuid = "b6370f49-8ad1-4651-ad9e-3639b35da0e9"
|
uuid = "b6370f49-8ad1-4651-ad9e-3639b35da0e9"
|
||||||
authors = ["Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors"]
|
authors = ["Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors"]
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# cowsay
|
# Cowsay.jl
|
||||||
|
|
||||||
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://MillironX.github.io/cowsay.jl/stable)
|
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://MillironX.github.io/cowsay.jl/stable)
|
||||||
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://MillironX.github.io/cowsay.jl/dev)
|
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://MillironX.github.io/cowsay.jl/dev)
|
||||||
|
|
|
@ -4,7 +4,7 @@ using Documenter
|
||||||
DocMeta.setdocmeta!(cowsay, :DocTestSetup, :(using cowsay); recursive=true)
|
DocMeta.setdocmeta!(cowsay, :DocTestSetup, :(using cowsay); recursive=true)
|
||||||
|
|
||||||
makedocs(;
|
makedocs(;
|
||||||
modules=[cowsay],
|
modules=[Cowsay],
|
||||||
authors="Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors",
|
authors="Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors",
|
||||||
repo="https://github.com/MillironX/cowsay.jl/blob/{commit}{path}#{line}",
|
repo="https://github.com/MillironX/cowsay.jl/blob/{commit}{path}#{line}",
|
||||||
sitename="cowsay.jl",
|
sitename="cowsay.jl",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
```@meta
|
```@meta
|
||||||
CurrentModule = cowsay
|
CurrentModule = Cowsay
|
||||||
```
|
```
|
||||||
|
|
||||||
# cowsay
|
# cowsay
|
||||||
|
@ -10,5 +10,5 @@ Documentation for [cowsay](https://github.com/MillironX/cowsay.jl).
|
||||||
```
|
```
|
||||||
|
|
||||||
```@autodocs
|
```@autodocs
|
||||||
Modules = [cowsay]
|
Modules = [Cowsay]
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
module cowsay
|
module Cowsay
|
||||||
|
|
||||||
export cowsay_function
|
export cowsay
|
||||||
|
|
||||||
function cowsay_function(message::AbstractString)
|
"""
|
||||||
|
cowsay(message::AbstractString)
|
||||||
|
|
||||||
|
Prints a cow saying `message` as unwrapped text.
|
||||||
|
"""
|
||||||
|
function cowsay(message::AbstractString)
|
||||||
messagelines = split(message, "\n")
|
messagelines = split(message, "\n")
|
||||||
nlines = length(messagelines)
|
nlines = length(messagelines)
|
||||||
|
|
Loading…
Reference in a new issue