Skip to content

Commit b46b6e5

Browse files
committed
use furo
1 parent 6c1626f commit b46b6e5

File tree

11 files changed

+159
-0
lines changed

11 files changed

+159
-0
lines changed

Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = source
9+
BUILDDIR = .
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

doctrees/environment.pickle

21.4 KB
Binary file not shown.

doctrees/index.doctree

4.95 KB
Binary file not shown.

make.bat

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
@ECHO OFF
2+
pushd %~dp0
3+
4+
REM Command file for building Sphinx documentation on Windows
5+
6+
REM Set up defaults
7+
IF "%SPHINXBUILD%"=="" SET SPHINXBUILD=sphinx-build
8+
SET SOURCEDIR=source
9+
SET BUILDDIR=docs
10+
11+
REM Check if sphinx-build exists
12+
%SPHINXBUILD% >NUL 2>&1
13+
IF ERRORLEVEL 9009 (
14+
ECHO.
15+
ECHO The 'sphinx-build' command was not found. Make sure you have Sphinx
16+
ECHO installed, then set the SPHINXBUILD environment variable to point
17+
ECHO to the full path of the 'sphinx-build' executable. Alternatively you
18+
ECHO may add the Sphinx directory to PATH.
19+
ECHO.
20+
ECHO If you don't have Sphinx installed, grab it from:
21+
ECHO https://www.sphinx-doc.org/
22+
EXIT /B 1
23+
)
24+
25+
REM If no argument is given, show help
26+
IF "%1"=="" GOTO help
27+
28+
REM Run the sphinx-build target
29+
IF "%1"=="html" (
30+
%SPHINXBUILD% -b html %SOURCEDIR% %BUILDDIR%
31+
echo.> %BUILDDIR%\.nojekyll
32+
) ELSE (
33+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
34+
)
35+
36+
GOTO end
37+
38+
:help
39+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
40+
41+
:end
42+
popd
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<div class="entry-cards" style="margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem;">
2+
3+
<div class="card" style="border: 1px solid var(--color-sidebar-border); padding: 0.75rem; border-radius: 6px;">
4+
<p style="margin: 0.25rem 0;"><strong>📄 TAPS</strong></p>
5+
<p style="margin: 0; font-size: 0.85em;">A standardized format for cognitive tasks, providing reproducible task specifications.</p>
6+
<a href="{{ pathto('taps') }}" style="font-size: 0.8em;">Learn more →</a>
7+
</div>
8+
9+
<div class="card" style="border: 1px solid var(--color-sidebar-border); padding: 0.75rem; border-radius: 6px;">
10+
<p style="margin: 0.25rem 0;"><strong>🧱 PsyFlow</strong></p>
11+
<p style="margin: 0; font-size: 0.85em;">A development framework for building cognitive tasks with easy integration of TAPS.</p>
12+
<a href="{{ pathto('psyflow') }}" style="font-size: 0.8em;">Learn more →</a>
13+
</div>
14+
15+
<div class="card" style="border: 1px solid var(--color-sidebar-border); padding: 0.75rem; border-radius: 6px;">
16+
<p style="margin: 0.25rem 0;"><strong>✅ Tasks</strong></p>
17+
<p style="margin: 0; font-size: 0.85em;">A library of common cognitive tasks ready to use like Go/No–Go, Stroop, Reaction-Time...</p>
18+
<a href="{{ pathto('tasks_index') }}" style="font-size: 0.8em;">Browse all →</a>
19+
</div>
20+
21+
<div class="card" style="border: 1px solid var(--color-sidebar-border); padding: 0.75rem; border-radius: 6px;">
22+
<p style="margin: 0.25rem 0;"><strong>💡 Future Directions</strong></p>
23+
<p style="margin: 0; font-size: 0.85em;">Exploring LLM-based generation of cognitive tasks driven by natural language.</p>
24+
<a href="{{ pathto('future') }}" style="font-size: 0.8em;">Learn more →</a>
25+
</div>
26+
27+
</div>

source/conf.py

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Configuration file for the Sphinx documentation builder.
2+
#
3+
# For the full list of built-in configuration values, see the documentation:
4+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
5+
6+
# -- Project information -----------------------------------------------------
7+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8+
9+
project = 'TaskBeacon'
10+
copyright = '2025, zhipeng'
11+
author = 'zhipeng'
12+
release = ''
13+
14+
# -- General configuration ---------------------------------------------------
15+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
16+
17+
18+
templates_path = ['_templates']
19+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
20+
21+
# -- Options for HTML output -------------------------------------------------
22+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
23+
24+
html_theme = "furo"
25+
# html_theme_options = {
26+
# "announcement": "This is in development!",
27+
# }
28+
html_static_path = ['_static']
29+
30+
html_logo = "_static/logo.png" # add later if you want
31+
html_theme_options = {
32+
"sidebar_hide_name": True,
33+
"light_logo": "logo-light.png",
34+
"dark_logo": "logo-dark.png",
35+
}
36+
37+
html_sidebars = {
38+
"**": [
39+
"sidebar/entries.html",
40+
# any further items here would float on the left again
41+
]
42+
}
43+
44+
45+
# Enable extensions
46+
extensions = [
47+
"myst_parser", # Markdown support
48+
"sphinx.ext.autodoc", # Auto pull docstrings
49+
"sphinx.ext.napoleon", # Google/Numpy style docstrings
50+
"sphinx_autodoc_typehints", # Type hints in docs
51+
]
52+
53+
54+
# Allow both .rst and .md files
55+
source_suffix = {
56+
'.rst': 'restructuredtext',
57+
'.md': 'markdown',
58+
}
59+
60+
61+

source/content_md/future.md

Whitespace-only changes.

source/content_md/psyflow.md

Whitespace-only changes.

source/content_md/taps.md

Whitespace-only changes.

source/content_md/taskbeacon.md

Whitespace-only changes.

0 commit comments

Comments
 (0)