Skip to content

Commit

Permalink
Merge pull request NixOS#8 from domenkozar/refresh-build
Browse files Browse the repository at this point in the history
Refresh build
  • Loading branch information
domenkozar authored May 17, 2020
2 parents 68388a0 + 60c5061 commit 2122e9a
Showing 7 changed files with 40 additions and 56 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "CI"
on:
- pull_request
- push

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ammaraskar/[email protected]
with:
docs-folder: "."
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
build/
lib/
include/


20 changes: 20 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

sphinx:
configuration: source/conf.py
fail_on_warning: true


# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3
install:
- requirements: requirements.txt
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx==3.0.3
Pallets-Sphinx-Themes==1.2.3
39 changes: 0 additions & 39 deletions setup.py

This file was deleted.

13 changes: 4 additions & 9 deletions source/conf.py
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@
extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'pallets_sphinx_themes',
]

# Add any paths that contain templates here, relative to this directory.
@@ -49,7 +50,7 @@
master_doc = 'index'

# General information about the project.
project = 'nix-cookbook'
project = 'nix.dev'
copyright = u'2016, Domen Kožar'
author = u'Domen Kožar'

@@ -113,13 +114,7 @@

# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"

html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = "flask"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -213,7 +208,7 @@
#html_search_scorer = 'scorer.js'

# Output file base name for HTML help builder.
htmlhelp_basename = 'nixpkgs-cookbookdoc'
#htmlhelp_basename = 'nixpkgs-'

# -- Options for LaTeX output ---------------------------------------------

0 comments on commit 2122e9a

Please sign in to comment.