Move images to a common directory.

This commit is contained in:
Amar Takhar 2016-05-18 13:47:42 -04:00
parent bc37517746
commit 170418af2d
15 changed files with 24 additions and 12 deletions

View File

@ -120,7 +120,7 @@ serves as a buffer between the project dependent application code and the
target hardware. Most hardware dependencies for real-time applications can be
localized to the low level device drivers.
.. figure:: rtemsarc.png
.. figure:: ../images/c_user/rtemsarc.png
:width: 488
:height: 100px
:align: center
@ -146,7 +146,7 @@ routines. Together these components provide a powerful run time environment
that promotes the development of efficient real-time application systems. The
following figure illustrates this organization:
.. figure:: rtemspie.png
.. figure:: ../images/c_user/rtemspie.png
:width: 70%
:align: center
:alt: RTEMS Internal Architecture

View File

@ -327,7 +327,7 @@ It will remain in the dormant state until it is started via the
task is now permitted to be scheduled for the processor and to compete for
other system resources.
.. figure:: states.png
.. figure:: ../images/c_user/states.png
:width: 70%
:align: center
:alt: Task State Transitions

View File

@ -241,7 +241,7 @@ ordered blocking discipline must be applied to a binary semaphore in order to
use either the priority inheritance or priority ceiling functionality. The
following tree figure illustrates the valid combinations.
.. figure:: semaphore_attributes.png
.. figure:: ../images/c_user/semaphore_attributes.png
:width: 90%
:align: center
:alt: Semaphore Attributes

View File

@ -119,17 +119,29 @@ def doc_singlehtml(ctx, source_dir, conf_dir):
def html_resources(ctx):
for dir in ["_static", "_templates"]:
files = ctx.path.parent.find_node("common").ant_glob("%s/*" % dir)
ctx.path.get_bld().make_node(dir).mkdir() # dirs
for dir_name in ["_static", "_templates"]:
files = ctx.path.parent.find_node("common").ant_glob("%s/*" % dir_name)
ctx.path.get_bld().make_node(dir_name).mkdir() # dirs
ctx(
features = "subst",
is_copy = True,
source = files,
target = [ctx.bldnode.find_node(dir).get_bld().make_node(x.name) for x in files]
target = [ctx.bldnode.find_node(dir_name).get_bld().make_node(x.name) for x in files]
)
# copy images
# ctx.path.get_bld().make_node("images").mkdir()
# files = ctx.path.parent.ant_glob("images/**")
# ctx(
# features = "subst",
# is_copy = True,
# source = files,
# target = [x.srcpath().replace("../", "") for x in files]
# )
def cmd_build(ctx, conf_dir=".", source_dir="."):
srcnode = ctx.srcnode.abspath()

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -59,7 +59,7 @@ PowerPC target.
.. COMMENT: PCI Device's Configuration Header Space Format
.. image:: images/PCIreg.jpg
.. image:: ../images/networking/PCIreg.jpg
.. COMMENT: XXX add crossreference to PCI Register Figure
@ -123,7 +123,7 @@ to the DEC21140 Hardware Manual.
.. COMMENT: Buffer Descriptor
.. image:: images/recvbd.jpg
.. image:: images/networking/recvbd.jpg
Receiver Thread

View File

@ -9,7 +9,7 @@ Network Task Structure and Data Flow
A schematic diagram of the tasks and message *mbuf* queues in a simple RTEMS
networking application is shown in the following figure:
.. image:: images/networkflow.jpg
.. image:: ../images/networking/networkflow.jpg
The transmit task for each network interface is normally blocked waiting for a

View File

@ -243,7 +243,7 @@ examples of what you can do.
Open a 64bit MSYS shell from the Start Menu:
.. figure:: msys2-minw64-start-menu.png
.. figure:: ../../images/msys2-minw64-start-menu.png
:width: 50%
:align: center
:alt: MSYS2 64bit Shell Start Menu