File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -673,16 +673,6 @@ function write_block(io, content)
673673 write(io, content)
674674end
675675
676- # function generate_constraint_buttons_html(constraint_dims::NamedTuple)
677- # total_constraints = sum_namedtuple(constraint_dims)
678- # buttons_html = join([begin
679- # """<button class="constraint-btn" data-type="$key" data-dim="$dim">$key</button>"""
680- # end for (key, dim) in pairs(constraint_dims)], "\n")
681- # return """<span class='constraints-wrapper' data-order='$total_constraints'>
682- # $buttons_html <strong style='margin-left:5px;'>($total_constraints)</strong>
683- # </span>"""
684- # end
685-
686676function generate_constraint_buttons_html(constraint_dims:: NamedTuple )
687677 return constraint_dims
688678end
@@ -790,12 +780,14 @@ end
790780# ---------------------------
791781# Layer 2: HTML assembly
792782# ---------------------------
793- function assemble_browser_html (json_str)
783+ function assemble_problems_browser_html (json_str)
794784 html_parts = [
795785 TABLE_PRESENTATION,
786+ " ```@raw html" ,
796787 TABLE_STYLE,
797788 build_table_html(json_str),
798789 TABLE_LOGIC,
790+ " ```" ,
799791 ]
800792 return join(html_parts, " \n " )
801793end
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ repo_url = "github.com/control-toolbox/OptimalControlProblems.jl"
9191# ==============================
9292# --- Generate Problems Documentation ---
9393# ==============================
94- draft = true # If true, code blocks in markdown are not executed
94+ draft = false # If true, code blocks in markdown are not executed
9595exclude_from_draft= Symbol[
9696# :beam # example: exclude beam from draft docs
9797]
You can’t perform that action at this time.
0 commit comments