282b0f4e73
* Create default config and install to /etc/polybar Closes #2405 * Search for config in /etc We search in XDG_CONFIG_DIRS, /etc/xdg, and /etc but only for config.ini Closes #2016 * Remove config installation from build.sh * Remove userconfig cmake file * Cleanup * Cleanup default config * Update CHANGELOG.md Co-authored-by: dvermd <315743+dvermd@users.noreply.github.com> * Update src/main.cpp Co-authored-by: dvermd <315743+dvermd@users.noreply.github.com> * Add tests for string functions * Support loading bars from fallbacks in /etc * Combine duplicate string_util::contains test Co-authored-by: dvermd <315743+dvermd@users.noreply.github.com> |
||
---|---|---|
.. | ||
_static | ||
dev | ||
man | ||
user | ||
.gitignore | ||
CMakeLists.txt | ||
conf.py | ||
config.ini | ||
index.rst | ||
README.md |
Polybar Manual
The official polybar documentation lives here.
The html documentation and man pages are built automatically when you build with cmake (cmake creates the custom
target doc
).
Preview Locally
The documentation uses Sphinx to generate the documentation, so you will need to have that installed.
If you build polybar normally while having Sphinx installed during configuration, the documentation will be enabled and
built as well. Building the documentation can be disabled by passing -DBUILD_DOC=OFF
to cmake
.
Once configured, all of the documentation can be generated with make doc
or use make doc_html
or make doc_man
to
only generate the html documentation or the man pages respectively.
The HTML documentation is in doc/html/index.html
in your build directory and the man pages are in doc/man
.