Skip to content

Commit d892078

Browse files
authored
Merge pull request #217 from JuliaAI/BKaperick-fix_doc_links
Fix doc links and Base.Docs.doc issue
2 parents 03ccc2d + 8eed570 commit d892078

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
version: ${{ matrix.version }}
3131
arch: ${{ matrix.arch }}
32-
- uses: actions/cache@v1
32+
- uses: julia-actions/cache@v1
3333
env:
3434
cache-name: cache-artifacts
3535
with:
@@ -63,4 +63,4 @@ jobs:
6363
using Documenter: DocMeta, doctest
6464
using MLJModelInterface
6565
DocMeta.setdocmeta!(MLJModelInterface, :DocTestSetup, :(using MLJModelInterface); recursive=true)
66-
doctest(MLJModelInterface)'
66+
doctest(MLJModelInterface)'

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ authors = ["Thibaut Lienart and Anthony Blaom"]
44
version = "1.11.0"
55

66
[deps]
7+
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
78
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
89
ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161"
910
StatisticalTraits = "64bff920-2084-43da-a3e6-9bb72801c0c9"
@@ -16,6 +17,7 @@ Distances = "0.10"
1617
InteractiveUtils = "<0.0.1, 1"
1718
Markdown = "<0.0.1, 1"
1819
OrderedCollections = "1"
20+
REPL = "<0.0.1, 1"
1921
Random = "<0.0.1, 1"
2022
ScientificTypes = "3"
2123
ScientificTypesBase = "3"

src/MLJModelInterface.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const ABSTRACT_MODEL_SUBTYPES = [
6363
using ScientificTypesBase
6464
using StatisticalTraits
6565
using Random
66+
using REPL # apparently needed to get Base.Docs.doc to work
6667

6768
import StatisticalTraits: info
6869

src/metadata_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ depwarn_docstring(T) =
7171
Regarding $T: `metadata_model` should not be called with the keyword argument `descr`
7272
or `docstring`. Implementers of the MLJ model interface should instead create an
7373
MLJ-compliant docstring in the usual way. See
74-
https://alan-turing-institute.github.io/MLJ.jl/dev/adding_models_for_general_use/#Document-strings
74+
https://juliaai.github.io/MLJ.jl/dev/adding_models_for_general_use/#Document-strings
7575
for details.
7676
7777
"""

src/model_api.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The following trait overload is also required:
4747
training_losses(model, report) = nothing
4848

4949
# to support online learning in the future:
50-
# https://github.com/alan-turing-institute/MLJ.jl/issues/60 :
50+
# https://github.com/JuliaAI/MLJ.jl/issues/60 :
5151
function update_data end
5252

5353
"""
@@ -67,7 +67,7 @@ the model-specific representations of the data.
6767
6868
To implement the `reformat` data front-end for a model, refer to
6969
"Implementing a data front-end" in the [MLJ
70-
manual](https://alan-turing-institute.github.io/MLJ.jl/dev/adding_models_for_general_use/).
70+
manual](https://juliaai.github.io/MLJ.jl/dev/adding_models_for_general_use/).
7171
7272
7373
"""

0 commit comments

Comments
 (0)