Skip to content

Commit

Permalink
added config option theme
Browse files Browse the repository at this point in the history
also:
- fixed images being center-aligned in detail tables
- fixed config schema errors showing full stack traces
- added lib version to css and js filenames
- added magic macro `POXY_IGNORE`
- added CHANGELOG.md
- migrated to conf.py for m.css
- restructured temp files
  • Loading branch information
marzer committed May 29, 2021
1 parent ae25ce6 commit 0bcc6fa
Show file tree
Hide file tree
Showing 12 changed files with 684 additions and 400 deletions.
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Changelog

## v0.4.0 - 2020-05-29
- Added config option `theme`
- Added version number to CSS and javascript filenames to prevent browser cache issues
- Added `POXY_IMPLEMENTATION_DETAIL(...)` magic macro
- Added `POXY_IGNORE(...)` magic macro
- Fixed alignment of nested images inside detail blocks

## v0.3.4 - 2020-05-28
- Added basic `using` alias detection to syntax highlighter
- Added missing badges for C++23, 26 and 29

## v0.3.3 - 2020-05-23
- Fixed sorting of namespace and group members
- Fixed m.css failing with new versions of doxygen due to `Doxyfile.xml`
- Added google structured data to `\pages`

## v0.3.2 - 2020-05-19
- Fixed formatting of `<meta>` tags
- Added config option `author`
- Added config option `robots`
- Added markup tag `[p]`
- Added markup tag `[center]`

## v0.3.1 - 2020-05-13
- Added config option `macros`
- Added command-line option `--version`

## v0.3.0 - 2020-05-09
- Improved handling of m.css and Doxygen warnings and errors
- Added command-line option `--doxygen`
- Added command-line option `--werror`
- Added markup tag `[set_parent_class]`
- Added markup tag `[add_parent_class]`
- Added markup tag `[remove_parent_class]`
- Added config option `images`
- Added config option `examples`
- Added ability to specify tagfiles as URIs

## v0.2.1 - 2020-05-07
- Fixed some minor autolinking issues

## v0.2.0 - 2020-05-06
- Added config option `source_patterns`

## v0.1.2 - 2020-05-02
- Fixed the Z-order of the nav bar being higher than the search overlay
- Added `NDEBUG` to the default set of defines

## v0.1.1 - 2020-04-26
- Added an additional cleanup step to the HTML postprocessor

## v0.1.0 - 2020-04-26
First public release :tada:
126 changes: 126 additions & 0 deletions poxy/data/poxy-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/* detail sections */
article section.m-doc-details > div
{
background-color: rgba(0,0,0,0.07)
}

/* detail section headers */
article section.m-doc-details > div > h3:first-child
{
background-color: #22272e;
}

/* namespace/class/struct etc prefixes in treeviews */
ul.m-doc > li.m-doc-collapsible,
ul.m-doc > li.m-doc-collapsible > a:first-child,
ul.m-doc > li.m-doc-collapsible li
{
color: #CCCCCC !important;
}

/* "Parameters", "Returns", subheadings inside description blocks, etc */
.m-doc-details div > h4,
.m-doc-details div > h5,
.m-doc-details div > h6,
.m-doc-details div > table.m-table th,
.m-doc-details div > table.m-table td > h3,
.m-doc-details div > table.m-table td > h4,
.m-doc-details div > table.m-table td > h5,
.m-doc-details div > table.m-table td > h6,
.m-doc-details div > table.m-table td > strong > em,
.m-doc-details div > table.m-table td > p > strong > em
{
color: #a5c9ea;
}

/* 'dim' blocks and notes */
.m-block.m-dim code,
.m-note.m-dim code
{
color: #acacac;
}
.m-block.m-dim pre.m-code,
.m-note.m-dim pre.m-code
{
opacity: 0.85;
}

/* ====================================================
code blocks
==================================================== */

/* keywords */
.m-code .k
{
color: rgb(86, 156, 214);
}

/* identifier names */
.m-code .n
{
color: rgb(220,220,220);
}

/* punctuators (brackets etc) */
.m-code .p
{
color: rgb(120,120,120);
}

/* user types and typedefs */
.m-code .ut,
.m-code .nc
{
color: rgb(78,201,176);
}

/* int and float literals, enum values */
.m-code .mb,
.m-code .mi,
.m-code .mf,
.m-code .mh,
.m-code .ne
{
color: rgb(181,206,168);
}

/* string literals, "includes" */
.m-code .s,
.m-code .sa,
.m-code .dl,
.m-code .cpf
{
color: rgb(214,157,133);
}

/* macros */
.m-code .m
{
color: rgb(190,183,255);
}

/* comments */
.m-code .c1,
.m-code .cm
{
color: rgb(87,166,74) !important;
}

/* preprocessor directives */
.m-code .cp
{
color: rgb(120,120,120);
}

/* namespace::scopes:: */
.m-code .ns
{
color: rgb(140,140,140);
}

/* implementation detail blocks */
pre.poxy-impl,
code.poxy-impl
{
color: rgb(87,166,74) !important;
}
1 change: 1 addition & 0 deletions poxy/data/poxy-github-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed poxy/data/poxy-github-icon.png
Binary file not shown.
1 change: 1 addition & 0 deletions poxy/data/poxy-github-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
139 changes: 139 additions & 0 deletions poxy/data/poxy-light.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
/* detail section headers */
article section.m-doc-details > div > h3:first-child
{
background-color: #ffe1d6;
}

/* 'light' caption text */
.m-doc-template,
dl.m-doc dd,
ul.m-doc li > span.m-doc
{
color: #939393;
}
.m-doc-template a,
dl.m-doc dd a,
ul.m-doc li > span.m-doc a
{
color: #666;
}

/* "Parameters", "Returns", subheadings inside description blocks, etc */
.m-doc-details div > h4,
.m-doc-details div > h5,
.m-doc-details div > h6,
.m-doc-details div > table.m-table th,
.m-doc-details div > table.m-table td > h3,
.m-doc-details div > table.m-table td > h4,
.m-doc-details div > table.m-table td > h5,
.m-doc-details div > table.m-table td > h6,
.m-doc-details div > table.m-table td > strong > em,
.m-doc-details div > table.m-table td > p > strong > em
{
color: #ea7944;
}

/* 'dim' blocks and notes */
.m-block.m-dim,
.m-text.m-dim,
.m-label.m-flat.m-dim
{
color: #939393;
}
.m-block.m-dim a,
.m-text.m-dim a,
.m-label.m-flat.m-dim a
{
color: #666;
}
.m-block.m-dim pre.m-code,
.m-note.m-dim pre.m-code
{
opacity: 0.75;
}

/* ====================================================
code blocks
==================================================== */

pre.m-code
{
background-color: #fdfdfd;
border: 1px solid #cccccc;
}

/* keywords */
.m-code .k
{
color: rgb(0, 0, 255);
}

/* identifier names */
.m-code .n
{
color: #111111;
}

/* punctuators (brackets etc) */
.m-code .p
{
color: rgb(120,120,120);
}

/* user types and typedefs */
.m-code .ut,
.m-code .nc
{
color: rgb(43, 145, 175);
}

/* int and float literals, enum values */
.m-code .mb,
.m-code .mi,
.m-code .mf,
.m-code .mh,
.m-code .ne
{
color: rgb(47, 79, 79);
}

/* string literals, "includes" */
.m-code .s,
.m-code .sa,
.m-code .dl,
.m-code .cpf
{
color: rgb(163, 21, 21);
}

/* macros */
.m-code .m
{
color: rgb(138, 27, 255);
}

/* comments */
.m-code .c1,
.m-code .cm
{
color: rgb(0, 128, 0) !important;
}

/* preprocessor directives */
.m-code .cp
{
color: rgb(128, 128, 128);
}

/* namespace::scopes:: */
.m-code .ns
{
color: rgb(140,140,140);
}

/* implementation detail blocks */
pre.poxy-impl,
code.poxy-impl
{
color: rgb(0, 128, 0) !important;
}
Loading

0 comments on commit 0bcc6fa

Please sign in to comment.