From abb8b1d3be73be3852be014b0c639b8f0bac432f Mon Sep 17 00:00:00 2001 From: Aron T Date: Sun, 10 Aug 2025 20:00:45 +0300 Subject: [PATCH] - Enchance documenter footer with version and date - Add additional instruction to copilot context --- .github/copilot-instructions.md | 4 ++++ docs/make.jl | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index ad055d9..fc86843 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -316,6 +316,10 @@ foot_of_line(P::Point, v::Vector, R::Point) -> Tuple(Point, Float64) - Use Markdown for explanations - After creating or editing a markdown document always review and fix all linting issues, unless the document is a configuration file of some kind - Follow the pattern of existing function documentation in src directory +- When a new mathematical concept is introduced, add an external link to [MathWorld](https://mathworld.wolfram.com/) for that specific concept. + - Compare multiple potential URLs to choose the most appropriate one + - Avoid replacing working links with inferior alternatives + - Always use fetch_webpage function to check the link is valid and points to the correct concept. ## Communication Patterns diff --git a/docs/make.jl b/docs/make.jl index 57cd594..04de0c2 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,5 +1,5 @@ CI = get(ENV, "CI", nothing) == "true" || get(ENV, "GITHUB_TOKEN", nothing) !== nothing -using DrWatson, Documenter +using DrWatson, Documenter, Dates using Linear_Algebra @info "Building Documentation" @@ -13,8 +13,10 @@ makedocs(; format = Documenter.HTML( prettyurls = CI, edit_link = "main", - assets = ["assets/custom.css"] - ) + assets = ["assets/custom.css"], + inventory_version = "0.1.0", + footer = "Powered by [Documenter.jl](https://documenter.jl) and the [Julia Programming Language](https://julialang.org) generated on $(Dates.format(Dates.now(), "yyyy-mm-dd HH:MM:ss"))" + ), ) @info "Deploying Documentation"