Skip to content
Snippets Groups Projects
Verified Commit eda9a521 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix documentation for variables functions

parent 0ec2b533
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,9 @@ symbol_to_func = Dict{Symbol, Function}()
for (func_symbol, (block_symbol, description)) in all_variables_symbols
as_string = " $func_symbol($block_symbol)\n\n$description\n\nThis represents a variable within the sequence. Variables can be set during the construction of a [`BuildingBlock`](@ref) or used to create constraints after the fact."
new_func = @eval begin
$as_string
function $func_symbol end
@doc $as_string $func_symbol
$func_symbol
end
symbol_to_func[func_symbol] = new_func
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment