Skip to content

Commit 5c2edbb

Browse files
Refactor documentation structure and update 'Get Started' guide for clarity
1 parent ec29d26 commit 5c2edbb

File tree

2 files changed

+10
-31
lines changed

2 files changed

+10
-31
lines changed

docs/make.jl

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,8 @@ using DocumenterVitepress
44

55
DocMeta.setdocmeta!(GeneFinder, :DocTestSetup, :(using GeneFinder); recursive = true)
66

7-
# makedocs(;
8-
# modules = [GeneFinder],
9-
# authors = "Camilo García-Botero",
10-
# repo = "https://github.com/camilogarciabotero/GeneFinder.jl/",
11-
# sitename = "GeneFinder.jl",
12-
# format = Documenter.HTML(;
13-
# mathengine=MathJax3(),
14-
# # prettyurls = get(ENV, "CI", "false") == "true",
15-
# canonical = "https://camilogarciabotero.github.io/GeneFinder.jl",
16-
# repolink = "https://github.com/camilogarciabotero/GeneFinder.jl",
17-
# edit_link = "main",
18-
# ),
19-
# pages = [
20-
# "Home" => "index.md",
21-
# "Finding ORFs" => "naivefinder.md",
22-
# "Scoring ORFs" => "features.md",
23-
# "A Simple Coding Rule" => "simplecodingrule.md",
24-
# "Wrtiting ORFs In Files" => "iodocs.md",
25-
# "API" => "api.md",
26-
# # "Roadmap" => "roadmap.md",
27-
# ],
28-
# warnonly = true,
29-
# )
30-
317
deploydocs(; repo = "https://github.com/camilogarciabotero/GeneFinder.jl", devbranch = "main")
328

33-
349
fmt = DocumenterVitepress.MarkdownVitepress(
3510
repo = "https://github.com/camilogarciabotero/GeneFinder.jl",
3611
devbranch = "main",
@@ -39,11 +14,15 @@ fmt = DocumenterVitepress.MarkdownVitepress(
3914
pgs = [
4015
"Home" => "index.md",
4116
"Get Started" => "getstarted.md",
42-
"Finding ORFs" => "naivefinder.md",
43-
"Scoring ORFs" => "features.md",
44-
"A Simple Coding Rule" => "simplecodingrule.md",
45-
"Wrtiting ORFs In Files" => "iodocs.md",
46-
"API" => "api.md",
17+
"Usage" => [
18+
"Finding ORFs" => "naivefinder.md",
19+
"Scoring ORFs" => "features.md",
20+
"A Simple Coding Rule" => "simplecodingrule.md",
21+
"Writing ORFs In Files" => "iodocs.md",
22+
],
23+
"Reference" => [
24+
"API" => "api.md",
25+
],
4726
]
4827

4928
makedocs(;

docs/src/getstarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The main package function is `findorfs`. Under the hood, the `findorfs` function is an interface for different gene finding algorithms that can be plugged using the `finder` keyword argument. By default it uses the `NaiveFinder` algorithm, which is a simple algorithm that finds all (non-outbounded) ORFIs in a DNA sequence (see the [NaiveFinder](https://camilogarciabotero.github.io/GeneFinder.jl/dev/api/#GeneFinder.NaiveFinder-Union{Tuple{Union{BioSequences.LongDNA{N},%20BioSequences.LongSubSeq{BioSequences.DNAAlphabet{N}}}},%20Tuple{N}}%20where%20N) documentation for more details).
44

5-
> [!NOTE]
5+
!!! note
66
The `minlen` kwarg in the `NaiveFinder` mehtod has been set to 6nt, so it will catch random ORFIs not necesarily genes thus it might consider `dna"ATGTGA"` -> `aa"M*"` as a plausible ORFI.
77

88
Here is an example of how to use the `findorfs` function with the `NaiveFinder` algorithm:

0 commit comments

Comments
 (0)