Skip to content

Commit

Permalink
Merge branch 'doc/move-static-fix-build' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
iqyx committed Apr 8, 2024
2 parents 713e37f + e72b982 commit 0afd5ab
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.. image:: doc/static/header.png
.. image:: doc/_static/header.png
:width: 100%
:alt: header image

.. raw:: html

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


A modular framework for data logging and remote data acquisition.
Expand Down
12 changes: 6 additions & 6 deletions doc/static/custom.css → doc/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

@page {
size: auto A4 portrait;
margin-top: 20mm;
margin-bottom: 20mm;
@media print {
@page {
size: auto A4 portrait;
margin-top: 20mm;
margin-bottom: 20mm;
}
}

h1 {
page-break-after: always;
}

.align-left {
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
8 changes: 6 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

html_theme = 'sphinx_rtd_theme'
html_title = 'plumCore DAQ framework'
html_logo = 'static/plum.svg'
html_logo = '_static/plum.svg'
html_theme_options = {
'globaltoc_collapse': False,
'globaltoc_includehidden': True,
'prev_next_buttons_location': None,
'sticky_navigation': True,
}
html_show_sourcelink = False
html_static_path = ['static']
html_static_path = ['_static']
html_use_index = True
html_css_files = [
'custom.css',
Expand All @@ -37,6 +37,10 @@
<div style="clear: both"></div>
.. |plum| raw:: html
<img style="position: relative; top: -0.15em; height: 1em; width: auto;" src="_static/plum.svg">
.. role:: tag-button
.. role:: material-icons
"""
Expand Down
20 changes: 17 additions & 3 deletions index.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
.. image:: doc/_static/header.png
:width: 100%
:alt: header image


====================================
The plumCore DAQ framework
|plum| The plumCore DAQ framework
====================================

A modular framework for data logging and remote data acquisition.

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

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

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


.. toctree::
:numbered:

README
doc/introduction
doc/concepts
microkernel/index
Expand Down
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ protobuf==5.26.1
SCons==4.1.0.post1
tqdm==4.57.0
colorama==0.4.4
sphinx==7.2.6
sphinx-rtd-theme==2.0.0
rst2pdf==0.101
sphinxcontrib-contentui==0.2.5
sphinx-toolbox==3.5.0

0 comments on commit 0afd5ab

Please sign in to comment.