Skip to content

Commit

Permalink
Merge d312b44 into f0c471a
Browse files Browse the repository at this point in the history
  • Loading branch information
f18m committed Oct 31, 2023
2 parents f0c471a + d312b44 commit edd2c10
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
32 changes: 32 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# libzmq readthedocs.io integration
#
# This configuration file is processed by readthedocs.io to rebuild the
# libzmq documentation using Asciidoctor, see
# https://docs.readthedocs.io/en/stable/build-customization.html#asciidoc

version: "2"

formats:
- htmlzip

build:
os: "ubuntu-22.04"
tools:
nodejs: "20"
# NOTE: as of Nov 2023, build.apt_packages is NOT considered when using build.commands
#apt_packages:
# - automake
# - autoconf
# - cmake
# - libtool
commands:
- npm install -g asciidoctor
- asciidoctor --backend html --destination-dir $READTHEDOCS_OUTPUT/html --attribute zmq_version='4.3.6' doc/*.adoc
# we use as landing page the "zmq.html":
- cp $READTHEDOCS_OUTPUT/html/zmq.html $READTHEDOCS_OUTPUT/html/index.html
# htmlzip docs are just like HTML:
# NOTE: for usability we make sure zip will create a zipfile containing just a flat list of HTML files; to achieve that
# it's important to avoid storing absolute paths when invoking "zip", thus we use -j
- mkdir -p $READTHEDOCS_OUTPUT/htmlzip/
- cd $READTHEDOCS_OUTPUT/html && zip -j ../htmlzip/f18m-libzmq.zip *.html
13 changes: 10 additions & 3 deletions doc/zmq.adoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
= zmq(7)
ifeval::["{backend}" == "manpage"]

= zmq(7)

== NAME
zmq - 0MQ lightweight messaging kernel

zmq - 0MQ lightweight messaging kernel, version {zmq_version}

== SYNOPSIS
*#include <zmq.h>*

*cc* ['flags'] 'files' *-lzmq* ['libraries']

endif::[]
ifeval::["{backend}" != "manpage"]
= ZMQ API Reference
endif::[]


== DESCRIPTION
This documentation is for libzmq {zmq_version}.

The 0MQ lightweight messaging kernel is a library which extends the standard
socket interfaces with features traditionally provided by specialised
_messaging middleware_ products. 0MQ sockets provide an abstraction of
Expand Down

0 comments on commit edd2c10

Please sign in to comment.