inching slowly towards a renderer

This commit is contained in:
Hartmut Seichter 2019-01-11 23:21:09 +01:00
parent 4b695ecaf6
commit c7c7d5af77
28 changed files with 613 additions and 59 deletions

20
share/CMakeLists.txt Normal file
View file

@ -0,0 +1,20 @@
find_package(mkdocs 1.0)
# if(MKDOCS_FOUND)
# configure_file(mkdocs.yml "${CMAKE_CURRENT_BINARY_DIR}/mkdocs.yml" COPYONLY)
# set(MKDOCS_FLAGS
# --site-dir "${CMAKE_CURRENT_BINARY_DIR}/docs/user/"
# --config-file "${CMAKE_CURRENT_BINARY_DIR}/mkdocs.yml"
# )
# if(DEBUG_MODE)
# list(APPEND MKDOCS_FLAGS --clean --verbose)
# endif()
# add_custom_target(docs-user
# ${MKDOCS_EXECUTABLE} build ${MKDOCS_FLAGS}
# WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
# COMMENT "Generating user documentation"
# )
# add_dependencies(docs docs-user)
# else()
# message(STATUS "SKIPPING generation of user documentation (mkdocs not found)")
# endif()

17
share/docs/index.md Normal file
View file

@ -0,0 +1,17 @@
# Welcome to MkDocs
For full documentation visit [mkdocs.org](https://mkdocs.org).
## Commands
* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs help` - Print this help message.
## Project layout
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.

1
share/mkdocs.yml Normal file
View file

@ -0,0 +1 @@
site_name: pixwerx engine