Skip to content

Commit

Permalink
fix docu
Browse files Browse the repository at this point in the history
  • Loading branch information
lamBOOO committed Oct 15, 2024
1 parent 5a796fa commit 01b2669
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ using Markdown
# Read the README.md file as a string
readme = read("../../README.md", String)
# Find the position of the first '#' character (first headline)
pos = findfirst(r"#", readme)[1]
# Find the position of the first '# GeMotion.jl' character (first headline)
pos = findfirst(r"# GeMotion.jl", readme)[1]
# Check if a '#' was found
# Check if a '# GeMotion.jl' was found
if isnothing(pos)
error("No '#' found in README.md")
error("No '# GeMotion.jl' found in README.md")
end
print(readme)
Expand Down

0 comments on commit 01b2669

Please sign in to comment.