Commit Graph

34 Commits

Author SHA1 Message Date
Soeren Apel 1c2b253935 Manual: Make timestamp less ambiguous so people don't think it's old 2023-09-17 22:21:56 +02:00
Gerhard Sittig cfcda2e615 manual: symlink manual/images/ subdir for out-of-source builds
Execution of "make manual" created HTML output, but document inspection
suffered from missing screenshots. Symlink the images/ subdirectory so
that source file content is re-used in output hierarchies.

This has gone unnoticed because "make install" references source files,
and the manual author appears to not use out of source builds. Only
out of source builds and only HTML output inspection before installation
were affected. Installed manuals were not affected.

How to reproduce:

  $ cmake --build $OUT --target manual
  $ xdg-open $OUT/manual/manual.html
2023-04-22 19:31:07 +02:00
Gerhard Sittig 0f76477f61 manual: fix a clipboard error in PDF creation build rules
This amends commit f2f536aa7b which introduced manual build rules and
duplicated HTML in two locations. One of them is PDF creation. Fix it.
This was spotted by smuview maintenance.
2022-11-28 10:12:40 +01:00
Gerhard Sittig 16d72fc1ac manual: add cmake project() directive for standalone operation
The cmake rules in the manual/ subdirectory are designed to work both in
the context of the application build, as well as for exclusive creation
of the manual.

Add a project() directive in the manual/ cmake rules. Its absence was
not fatal but resulted in warnings. This amends commit 074da67ee2.
2022-10-02 16:07:10 +02:00
Uwe Hermann a7f4a81bd9 manual: Bump date to the date of the last change. 2020-03-31 21:48:27 +02:00
Soeren Apel b82e8832c1 Update manual 2020-03-16 23:36:50 +01:00
Uwe Hermann 0672b79b53 manual: Add double-quotes around wget URLs.
This will do the right thing for both the PDF and HMTL manual.

Without the double-quotes, copy-pasting the command-line invocations
will not work as expected.
2020-01-06 20:50:04 +01:00
Gerhard Sittig 01945f07bd manual: fix command line word order for wget downloads
It's good tradition to put options right after the command name, and
list positional arguments after the list of options. Putting options
late only works by coincidence and trains bad habits. Adjust the wget
command lines accordingly.

Reported-By: Peter Mortensen via IRC
2020-01-06 20:40:54 +01:00
Devan Lai 611c86259f Add -s / --settings parameter to load a session setup file 2019-04-22 14:19:47 +02:00
Soeren Apel 7f030756db Manual: Add session save/restore, PD selector dialog 2019-03-14 12:08:44 +01:00
Uwe Hermann 0adee2d934 manual: Bump date. 2018-10-29 11:26:51 +01:00
Soeren Apel a53b8efe30 Installer: Add links to manual 2018-10-28 23:12:12 +01:00
Gerhard Sittig 074da67ee2 manual: allow manual conversion without source builds
Add a cmake_minimum_required() directive to the manual/ subdir's CMake
rules, such that the documentation can get built without involving the
application and its build dependencies.
2018-10-28 22:35:09 +01:00
Soeren Apel 1e6d599662 Manual: Adjust wording 2018-10-28 19:20:50 +01:00
Uwe Hermann 2eab551b92 manual: Rename pulseview_manual.* to manual.*. 2018-10-27 21:38:49 +02:00
Gerhard Sittig ee6096a8d9 manual: link from decoder troubleshooting to sigrok FAQ item 2018-10-27 21:25:22 +02:00
Gerhard Sittig 460051d9b1 manual: expand the protocol decoder troubleshooting subsection
Expand the discussion that timing information is not required or
optional to some decoders, but essential to others (because of the very
protocol that gets interpreted). Mention that some oversampling is
typically required. Don't suggest that PD exceptions must be bugs,
incomplete configuration may be even more typical.

Separate the "you can ..." introduction from the first check list item,
to increase visibility of the entry. Existing text was not re-flown, to
reduce the diff size.
2018-10-27 21:25:22 +02:00
Gerhard Sittig 71ab196d0d manual: remove the generate script, got obsoleted by CMake rules
Instead of running the manual/generate(1) script, "make manual" executes
the conversion tools.
2018-10-27 21:25:22 +02:00
Gerhard Sittig 4596756f6f manual: cosmetic nits, add comments to CMake rules 2018-10-27 21:25:22 +02:00
Gerhard Sittig e6bc4b9da4 manual: also install images/*.png with the HTML output
Extend the CMake rules for the manual. Do install the images/ subdir but
omit the *.xcf files. Prepare the CSS file although this seems to be not
strictly necessary (gets inlined, but we are prepared if it's external).
Only install these additional files when the asciidoctor(1) tool is
available, and thus the .html file can get generated (to not install
some questionable combination of a .pdf and unrelated .png files, or to
not install the resources when none of the manual files got created).

This approach was tested with the following command sequence:
  $ make manual
  $ make install
  $ xdg-open ~/share/doc/pulseview/*.html
2018-10-27 21:25:22 +02:00
Gerhard Sittig 6bbbf1f857 manual: accept absence of the asciidoctor-pdf exectuable
The asciidoctor(1) executable is considered mandatory when building the
Pulseview manual. The asciidoctor-pdf(1) executable is not universally
available (is missing in Debian), accept its absence, avoid execution
failure in that case.

This implementation replaces the actual .txt to .pdf conversion with a
mere echo(1) message, which may go unnoticed in verbose build output.
"make --no-print-directories manual" may be required to remain aware.
2018-10-27 21:25:22 +02:00
Gerhard Sittig 7305c21853 manual: install manual conversion result files generated by cmake
Install the (optionally generated) HTML and PDF manual files. Absence of
the files is non-fatal.
2018-10-27 21:25:22 +02:00
Gerhard Sittig f2f536aa7b manual: introduce CMake logic for asciidoctor execution
Introduce new "manual", "manual-html" and "manual-pdf" make(1) targets
(the former depending on the latter). None of these targets are part of
"make all" by design, users decide whether to convert the manual text.
Execution will fail (fatally) in the absence of dependencies or tools.
2018-10-27 21:25:22 +02:00
Soeren Apel a0241dc5b5 Manual: Add PD troubleshooting section 2018-10-25 00:08:42 +02:00
Soeren Apel 79b53a1ae4 Add generic "Create marker here" context menu entry 2018-10-17 00:51:01 +02:00
Soeren Apel 2543cd4e27 Ruler: Add context menu with "Create marker here" entry 2018-10-13 15:37:04 +02:00
Soeren Apel daeba21f16 manual: Reword and update some stuff 2018-10-06 09:43:37 +02:00
Soeren Apel 0e96068df2 Rename --no-scan to --dont-scan 2018-10-03 23:21:12 +02:00
Uwe Hermann 00c4106928 manual: Add a short Mac OS X install text. 2018-10-03 21:24:24 +02:00
Uwe Hermann d1af28a730 manual: Various minor fixes. 2018-10-03 21:02:27 +02:00
Soeren Apel 4514c57217 Manual: Describe sticky scrolling 2018-09-22 22:29:38 +02:00
Uwe Hermann fa7359bc55 manual/generate: Always generate a PDF manual as well by default. 2018-09-06 14:52:10 +02:00
Soeren Apel 4e2195c8d9 Binding: Add help icons for entries with descriptions 2018-09-06 00:25:00 +02:00
Soeren Apel 1894027b98 Manual: Initial revision 2018-09-06 00:25:00 +02:00