Skip to content

Commit e72b982

Browse files
committed
doc: Move static files, fix sphinx build
1 parent 713e37f commit e72b982

File tree

8 files changed

+36
-13
lines changed

8 files changed

+36
-13
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.. image:: doc/static/header.png
1+
.. image:: doc/_static/header.png
22
:width: 100%
33
:alt: header image
44

55
.. raw:: html
66

7-
<h1><img style="position: relative; top: -0.15em; height: 1em; width: auto;" src="doc/static/plum.svg"> The plumCore DAQ framework</h1>
7+
<h1><img style="position: relative; top: -0.15em; height: 1em; width: auto;" src="doc/_static/plum.svg"> The plumCore DAQ framework</h1>
88

99

1010
A modular framework for data logging and remote data acquisition.

doc/static/custom.css doc/_static/custom.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
2-
@page {
3-
size: auto A4 portrait;
4-
margin-top: 20mm;
5-
margin-bottom: 20mm;
1+
@media print {
2+
@page {
3+
size: auto A4 portrait;
4+
margin-top: 20mm;
5+
margin-bottom: 20mm;
6+
}
67
}
78

89
h1 {
9-
page-break-after: always;
1010
}
1111

1212
.align-left {
File renamed without changes.
File renamed without changes.
File renamed without changes.

doc/conf.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717

1818
html_theme = 'sphinx_rtd_theme'
1919
html_title = 'plumCore DAQ framework'
20-
html_logo = 'static/plum.svg'
20+
html_logo = '_static/plum.svg'
2121
html_theme_options = {
2222
'globaltoc_collapse': False,
2323
'globaltoc_includehidden': True,
2424
'prev_next_buttons_location': None,
2525
'sticky_navigation': True,
2626
}
2727
html_show_sourcelink = False
28-
html_static_path = ['static']
28+
html_static_path = ['_static']
2929
html_use_index = True
3030
html_css_files = [
3131
'custom.css',
@@ -37,6 +37,10 @@
3737
3838
<div style="clear: both"></div>
3939
40+
.. |plum| raw:: html
41+
42+
<img style="position: relative; top: -0.15em; height: 1em; width: auto;" src="_static/plum.svg">
43+
4044
.. role:: tag-button
4145
.. role:: material-icons
4246
"""

index.rst

+17-3
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
1+
.. image:: doc/_static/header.png
2+
:width: 100%
3+
:alt: header image
4+
15

26
====================================
3-
The plumCore DAQ framework
7+
|plum| The plumCore DAQ framework
48
====================================
59

610
A modular framework for data logging and remote data acquisition.
711

8-
The name represents a seed found in a plum fruit - the core of the plum.
12+
The name represents a seed found in a plum fruit - the "core" of the plum.
913
Although not used in this manner it sounds sufficiently good to be used
1014
as a name for a totally unrelated project.
1115

16+
plumCore is a C framework using the microkernel/services pattern. FreeRTOS
17+
scheduler is used as the microkernel providing task scheduling and a basic IPC.
18+
All the rest is implemented as modular services. A plumCore service provides
19+
interfaces used by other services. Interface dependencies are either discovered
20+
in runtime (service locator pattern) or injected (dependency injection). Even
21+
the service locator is implemented as a service. Most of the code looks like
22+
and behaves in an OOP manner. As an user interface, a tree-structured CLI
23+
(command line interface) is available to configure the device.
1224

25+
plumCore use cases are various remotely operated measurement/DAQ systems with
26+
optional on-site data processing (edge computing). IoT and consumer hardware
27+
are not plumCore's target applications.
1328

1429

1530
.. toctree::
1631
:numbered:
1732

18-
README
1933
doc/introduction
2034
doc/concepts
2135
microkernel/index

requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ protobuf==5.26.1
99
SCons==4.1.0.post1
1010
tqdm==4.57.0
1111
colorama==0.4.4
12+
sphinx==7.2.6
13+
sphinx-rtd-theme==2.0.0
14+
rst2pdf==0.101
15+
sphinxcontrib-contentui==0.2.5
16+
sphinx-toolbox==3.5.0

0 commit comments

Comments
 (0)