Skip to content

Commit

Permalink
Merge in hugo web site and associated support files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Oct 21, 2021
1 parent 2255c74 commit 084adfa
Show file tree
Hide file tree
Showing 149 changed files with 4,312 additions and 299 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ name: 'CI'

on:
push:
paths-ignore:
- 'web/**'
pull_request: ~

jobs:
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#
# GitHub Actions for GEOS Web Pages
# Paul Ramsey <[email protected]>
#

name: 'Web'

on:
push:
branches:
- web

jobs:
linux:
name: 'Build Web'
runs-on: ubuntu-latest

# Only run docbuild on central repo
if: github.repository == 'libgeos/geos'
steps:

- name: 'Install'
run: |
set -e
uname -a
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install make doxygen
- name: 'Check Out 📗'
uses: actions/checkout@v2

- name: 'Hugo Build 🛠'
# ...or replace 'master' with a full version tag, such as: v0.64.1
uses: jakejarvis/[email protected]
with:
args: --source web --destination public --verbose

- name: 'Doxygen Build 🛠'
run: |
set -e
mkdir build.cmake
cd build.cmake
cmake --version
cmake -DBUILD_DOCUMENTATION=YES ..
cmake --build . --target docs
- name: 'Bundle 🛠'
run: |
mkdir -p public_html/doxygen
cp -ra web/public/* public_html
cp -ra build.cmake/doxygen/doxygen_docs/html/* public_html/doxygen
- name: 'Deploy 🚀'
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: public_html # The folder the action should depl y.


1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ authors.git
.idea/
.project
out/
web/public/
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,12 @@ add_subdirectory(util)
#-----------------------------------------------------------------------------
# Documentation/Examples
#-----------------------------------------------------------------------------
add_subdirectory(doc)
add_subdirectory(doxygen)

#-----------------------------------------------------------------------------
# Web Site
#-----------------------------------------------------------------------------
add_subdirectory(web)

#-----------------------------------------------------------------------------
# Install and export targets - support 'make install' or equivalent
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions doxygen/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
To build Doxygen documentation use:

make doxygen-html

Take a look at example.cpp to get started.
File renamed without changes.
137 changes: 0 additions & 137 deletions examples/capi_prepared.cpp

This file was deleted.

75 changes: 0 additions & 75 deletions examples/capi_read.cpp

This file was deleted.

86 changes: 0 additions & 86 deletions examples/capi_read_ts.cpp

This file was deleted.

Loading

0 comments on commit 084adfa

Please sign in to comment.