From f14566e65ac78ef398eb6f7f6f76304f9686f08e Mon Sep 17 00:00:00 2001
From: Mirek Kratochvil <exa.exa@gmail.com>
Date: Sat, 10 Jul 2021 12:59:23 +0200
Subject: [PATCH] finalize docs for 1.0.3

---
 docs/src/advanced/2_custom_model.md | 2 +-
 docs/src/functions.md               | 5 +++++
 src/base/macros/change_bounds.jl    | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/docs/src/advanced/2_custom_model.md b/docs/src/advanced/2_custom_model.md
index 1699e84d6..b722f5f94 100644
--- a/docs/src/advanced/2_custom_model.md
+++ b/docs/src/advanced/2_custom_model.md
@@ -21,7 +21,7 @@ and overload the required accessors. The accessors are functions that extract
 some relevant information, such as [`stoichiometry`](@ref) and
 [`bounds`](@ref), returning a fixed simple data type that can be further used
 by COBREXA.  You may see a complete list of accessors
-[here](../functions#Base-Types).
+[here](../functions.md#Base-Types).
 
 A good solution to the second concern is a slightly more involved, as writing
 generic data modifiers is notoriously hard. Still, there is support for easily
diff --git a/docs/src/functions.md b/docs/src/functions.md
index 8061d75b3..ba14973e1 100644
--- a/docs/src/functions.md
+++ b/docs/src/functions.md
@@ -77,6 +77,11 @@ Modules = [COBREXA]
 Pages = map(file -> joinpath("base", "utils", file), readdir("../src/base/utils"))
 ```
 
+```@autodocs
+Modules = [COBREXA]
+Pages = map(file -> joinpath("base", "macros", file), readdir("../src/base/macros"))
+```
+
 ### Logging and debugging helpers
 
 ```@autodocs
diff --git a/src/base/macros/change_bounds.jl b/src/base/macros/change_bounds.jl
index 648ded28f..c37976082 100644
--- a/src/base/macros/change_bounds.jl
+++ b/src/base/macros/change_bounds.jl
@@ -27,7 +27,7 @@ macro _change_bounds_fn(model_type, idx_type, args...)
     docstring = """
         $fname(
             model::$model_type,
-            $idx_var::$idx_type,
+            $idx_var::$idx_type;
             lower = $missing_default,
             upper = $missing_default,
         )
-- 
GitLab