Skip to content

Commit

Permalink
Remove doxygen and add sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
janette committed Oct 27, 2023
1 parent 65c9383 commit 05658e0
Show file tree
Hide file tree
Showing 91 changed files with 7,962 additions and 185 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.vscode

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

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.9"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
14 changes: 0 additions & 14 deletions commands/doxygen/dkan-docs

This file was deleted.

32 changes: 0 additions & 32 deletions docker-compose.doxygen.yaml

This file was deleted.

20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1 change: 0 additions & 1 deletion docs/_config.yml

This file was deleted.

3 changes: 3 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-side-nav-search > div.version {
color: white;
}
Binary file added docs/_static/dkan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/favicon.ico
Binary file not shown.
Binary file added docs/build/doctrees/demo.doctree
Binary file not shown.
Binary file added docs/build/doctrees/dktl-convert.doctree
Binary file not shown.
Binary file added docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/build/doctrees/frontend.doctree
Binary file not shown.
Binary file added docs/build/doctrees/getting-started.doctree
Binary file not shown.
Binary file added docs/build/doctrees/index.doctree
Binary file not shown.
Binary file added docs/build/doctrees/testing-debug-phpunit.doctree
Binary file not shown.
Binary file added docs/build/doctrees/testing-dkan.doctree
Binary file not shown.
Binary file added docs/build/doctrees/testing-project.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 7ad9d5f6717aa608cd3611e30a9d1c35
tags: 645f666f9bcd5a90fca523b33c5a78b7
15 changes: 11 additions & 4 deletions docs/demo.md → docs/build/html/_sources/demo.rst.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# Run The DKAN Demo Site
Run The DKAN Demo Site
======================

Note: As of DDev 1.19.5, these instructions require managing the settings.php
file. After DDev 1.19.6 is released, this will (hopefully) not be required.

.. prompt:: bash $

mkdir my-project && cd my-project
ddev config --auto
ddev get getdkan/dkan-ddev-addon
ddev restart
ddev composer create getdkan/recommended-project:@dev -y
# At this point, we must add a configuration to settings.php
# This should change after DDev 1.19.6 is released.

At this point, we must add a configuration to settings.php

This should change after DDev 1.19.6 is released.

.. prompt:: bash $

cat .ddev/misc/settings.dkan-snippet.php.txt >> docroot/sites/default/settings.php
cp .ddev/misc/settings.dkan.php docroot/sites/default/settings.dkan.php

ddev dkan-demo
Loading

0 comments on commit 05658e0

Please sign in to comment.