Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gen pages #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
language: cpp
sudo: require
dist: xenial

os:
- linux
matrix:
exclude:
# Don't build with clang on Linux
- os: linux
compiler: clang

install:
- sudo apt-get -y install doxygen graphviz

script:
- sh parseProjects.sh

deploy:
provider: pages
local-dir: docs/
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: false
on:
condition: ${TRAVIS_OS_NAME} = linux
branch: master

env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "eqXxhT2R/eCXwaQC0dn14iB6Rvd7KdEsz9lvcqo/ZCSduHVdQbIcLKxI/gLXjYyPOurAgMDGlbiqe/Sz/29eH+jcYlNsLtDpSoJFsgnWe9KlEqBrbO+eGH5OoAabgJthcGygTwbFnpsiY7SvLG62pSYUrSfToCVkouSiUXeZb5Q="

branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/
- /^(?i:gh-pages)$/
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs.tsunamods.com
9 changes: 9 additions & 0 deletions parseProjects.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
mkdir docs
input="repos.txt"
while IFS= read -r line
do
git clone "$line"
project=$(basename "$line" ".git"|tr -d '\n')
doxygen "${project}/docs/Doxyfile"
done <"$input"
1 change: 1 addition & 0 deletions repos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/julianxhokaxhiu/FFNx.git