Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskosunen committed Oct 28, 2023
1 parent f60b640 commit 6a3187c
Show file tree
Hide file tree
Showing 41 changed files with 1,220 additions and 134 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Documentation

on:
push:
branches:
- master
- dev
- poxy
paths:
- "**.h"
- "**.hpp"
- "**.dox"
- "**.md"
- "docs/"
- "**/docs.yml"
workflow_dispatch:

jobs:
docs:
runs-on: ubuntu-latest

steps:
- name: Install dependencies
run: |
sudo apt -y update
sudo apt -y install --no-istall-recommends git python3 python3-pip doxygen
sudo -H pip3 install --upgrade poxy
- name: Checkout
uses: actions/checkout@v4

- name: Generate docs
run: |
cd docs
poxy --verbose
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ set_interface_flags(scn_internal)
add_subdirectory(scripts)

add_subdirectory(benchmark)
add_subdirectory(docs)
#add_subdirectory(docs)
add_subdirectory(examples)

enable_testing()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/guide.rst → docs-old/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ so `--std=c++17` (or equivalent, or newer) needs to be included in the build fla
Basic usage
-----------

``scn::scan`` can be used to parse various values from a source range.
``scn::scan`` can be used to scan various values from a source range.

A range is an object that has a beginning and an end.
Examples of ranges are string literals, ``std::string`` and ``std::vector<char>``.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 6a3187c

Please sign in to comment.