Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
build website
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Sep 27, 2017
1 parent 2960c9c commit c6780c1
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
dist: trusty
julia:
- 0.6
notifications:
email: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd())'

after_success:
- julia -e 'Pkg.add("Documenter")'
- julia -e 'cd(Pkg.dir("GPUShowcases")); include(joinpath("docs", "make.jl"))'
Empty file added docs/Convolution/convolution.md
Empty file.
File renamed without changes.
Empty file added docs/Poincare/poincare.md
Empty file.
Empty file.
24 changes: 24 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Documenter, GPUArrays

makedocs(
modules = [GPUShowcases],
format = :html,
sitename = "GPU Showcases for Julia",
pages = [
"Home" => "index.md",
"Showcases" => [
"Convolution/convolution.md",
"PDE/pde.md",
"Poincare/poincare.md",
"SmokeSimulation/smokesimulation.md"
],
],
doctest = test
)

deploydocs(
deps = Deps.pip("mkdocs", "python-markdown-math", "mkdocs-cinder"),
repo = "github.com/JuliaGPU/GPUShowcases.jl.git",
julia = "0.6",
osname = "linux"
)
24 changes: 24 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
site_name: GPUShowcases.jl
repo_url: https://github.com/JuliaGPU/GPUShowcases.jl
site_description: Show cases for the Julia GPU infrastructure
site_author: Simon Danisch

theme: cinder

extra_css:
- assets/Documenter.css

extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML
- assets/mathjaxhelper.js

markdown_extensions:
- extra
- tables
- fenced_code
- mdx_math

docs_dir: 'build'

pages:
- Home: index.md
Empty file added docs/src/index.md
Empty file.
3 changes: 3 additions & 0 deletions src/GPUShowcases.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module GPUShowcases

end

0 comments on commit c6780c1

Please sign in to comment.