Skip to content

Commit

Permalink
Move to GitHub Actions for documentation deploying.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinnegatamante committed Sep 5, 2021
1 parent 8124c46 commit cadb240
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 147 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/doc.yml
@@ -0,0 +1,34 @@
name: Deploy docs

on:
push:
branches:
- master
pull_request:
repository_dispatch:
types: [run_build]

jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Build Documentation
run: |
cd doc
doxygen
cp search.js html/search/search.js
echo "<script id=\"searchdata\" type=\"text/xmldata\">" >> html/search.html
cat searchdata.xml >> html/search.html
echo "</script>" >> html/search.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
if: contains(github.ref,'refs/heads/master')
with:
branch: gh-pages
folder: docs
clean: false
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@
<img src="https://github.com/gnmmarechal/lpp-vita/raw/master/banner.png?raw=true"/>
</p>

[![Documentation](https://travis-ci.org/Rinnegatamante/lpp-vita.png?branch=master)](https://travis-ci.org/Rinnegatamante/lpp-vita) [![Build Status](https://dev.azure.com/rinnegatamante/lpp-vita/_apis/build/status/Rinnegatamante.lpp-vita?branchName=master)](https://dev.azure.com/rinnegatamante/lpp-vita/_build/latest?definitionId=1&branchName=master)
[![Build Status](https://dev.azure.com/rinnegatamante/lpp-vita/_apis/build/status/Rinnegatamante.lpp-vita?branchName=master)](https://dev.azure.com/rinnegatamante/lpp-vita/_build/latest?definitionId=1&branchName=master)

# Description

Expand Down
109 changes: 0 additions & 109 deletions deployDoc.sh

This file was deleted.

6 changes: 3 additions & 3 deletions doc/Doxyfile
Expand Up @@ -51,7 +51,7 @@ PROJECT_BRIEF = "Documentation of lpp-vita"
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
# the logo to the output directory.

PROJECT_LOGO = "$(TRAVIS_BUILD_DIR)/doc/logo.png"
PROJECT_LOGO = "logo.png"

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
Expand Down Expand Up @@ -703,7 +703,7 @@ FILE_VERSION_FILTER =
# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
# tag is left empty.

LAYOUT_FILE = $(TRAVIS_BUILD_DIR)/doc/layout.xml
LAYOUT_FILE = layout.xml

# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
Expand Down Expand Up @@ -790,7 +790,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = $(TRAVIS_BUILD_DIR)/doc
INPUT = .

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down

0 comments on commit cadb240

Please sign in to comment.