Skip to content

Commit

Permalink
ont docs add css for PLAN keyword
Browse files Browse the repository at this point in the history
and notes that this that particular css probably should be
configurable so we don't have to push python packages to get new
behavior ... big complexity sigh
  • Loading branch information
tgbugs committed Jan 4, 2023
1 parent 024ea98 commit 40fdbbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nifstd/nifstd_tools/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def fixpath(l):
return '\n'.join(lines) + '\n', title


ob_lang_titles = (
ob_lang_titles = ( # FIXME config (SIGH)
('jupyter-python', 'Python'),
('sparql', 'SPARQL'),
('cypher', 'Cypher'),
Expand All @@ -148,8 +148,9 @@ def fixpath(l):
f"pre.src-{lang}:before {{ content: '{display}'; }}"
for lang, display in ob_lang_titles])

todo_colors_css = (
todo_colors_css = ( # FIXME config (SIGH)
'.todo.RC {color:black; background-color:khaki;}'
'.done.PLAN {color:black; background-color:gray;}'
)


Expand Down

0 comments on commit 40fdbbb

Please sign in to comment.