Skip to content

Commit

Permalink
Cleaning up the directory for package release
Browse files Browse the repository at this point in the history
  • Loading branch information
azeredo-e committed Mar 15, 2024
1 parent a90d57c commit 9187997
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 11 deletions.
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#Ignore personal files
.env
#Documenter files
docs/build
docs/Manifest.toml

#Personal Files
Manifest.Toml

#Ignore folders
.vscode/
releases/
BCB.py/
python-bcb/
project-test/

2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ julia = "1.9.1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[targets]
test = ["Test"]
docs = ["Documenter"]
3 changes: 3 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[deps]
BrazilCentralBank = "1db8e8ca-f8ef-4fae-b3f5-ea2940ece087"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
12 changes: 10 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import Dates.AbstractTime

using Documenter, BrazilCentralBank
using BrazilCentralBank
using Documenter

makedocs(sitename="BrazilCentralBank")
DocMeta.setdocmeta!(BrazilCentralBank, :DocTestSetup, :(using BrazilCentralBank); recursive=true)

makedocs(
sitename = "BrazilCentralBank.jl",
format = Documenter.HTML(),
modules = [BrazilCentralBank],
checkdocs = :export
)
4 changes: 2 additions & 2 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The final goal is for this to be a comprehensive set of tools for anyone trying

## Instalation

Source code are avaliable in this project directory, but instalation through Julia's package manager is also avaliable.
Source code are avaliable in this project directory, but instalation through Julia's package manager will soon be avaliable.

```julia
julia> using Pkg; Pkg.add(BrazilCentralBank)
Expand All @@ -24,6 +24,6 @@ julia> using Pkg; Pkg.add(BrazilCentralBank)

```@docs
BrazilCentralBank
getcurrency_list()
getcurrency_list(;convert_to_utf=true)
gettimeseries(symbols::Union{String, Array}, start::Union{AbstractTime, AbstractString, Number}, finish::Union{AbstractTime, AbstractString, Number}; side::String="side", groupby::String="symbol")
```
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using DataFrames
using Dates
using Test

greetBCB()
BrazilCentralBank.greetBCB()

@testset begin
@test BrazilCentralBank._get_currency_id("USD") == 61
Expand Down

0 comments on commit 9187997

Please sign in to comment.