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"
|
||||
authors = ["Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors"]
|
||||
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)
|
||||
[![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)
|
||||
|
||||
makedocs(;
|
||||
modules=[cowsay],
|
||||
modules=[Cowsay],
|
||||
authors="Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors",
|
||||
repo="https://github.com/MillironX/cowsay.jl/blob/{commit}{path}#{line}",
|
||||
sitename="cowsay.jl",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
```@meta
|
||||
CurrentModule = cowsay
|
||||
CurrentModule = Cowsay
|
||||
```
|
||||
|
||||
# cowsay
|
||||
|
@ -10,5 +10,5 @@ Documentation for [cowsay](https://github.com/MillironX/cowsay.jl).
|
|||
```
|
||||
|
||||
```@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")
|
||||
nlines = length(messagelines)
|
||||
|
Loading…
Reference in a new issue