rabbitmq-website

RabbitMQ website and documentation guides

Github星跟蹤圖

rabbitmq.com

This repository contains source code for rabbitmq.com content.

All changes that need to be deployed right away need to be committed to the live branch.

Changes which should be deployed when the next patch release (a.k.a. stable) of RabbitMQ ships should be committed to the stable branch.

Changes which should be deployed when the next 3.6.x patch release of RabbitMQ ships should be committed to the 3.6.x branch.

Changes which should be deployed when the next minor release (a.k.a. master) of RabbitMQ ships should be committed to the master branch.

Branches

There are a few noteworthy and long-lived named branches in this
repository:

Branch, Description
:-------------, :--------------------
live, The current version of the website. This must represent whatever's deployed to www.rabbitmq.com.
stable, Changes to the website that will correspond to the next point (maintenance) release of RabbitMQ. This gets merged into live when a 3.7.x release occurs.
master, Changes to the website that will correspond to the next minor release of RabbitMQ. Periodically deployed to next.rabbitmq.com. This gets merged into stable and then live when a minor release occurs.

Development environment

Running a Local Copy

The site requires Python 3.6 or later, lxml and Markdown libraries for development. It also
assumes Apache 2.x is used for deployment. pyenv
can be used to install the appropriate Python version without affecting the system version(s).

When using OS native package managers be aware that Python packages
can be out-of-date.

On MacOS

On a recent MacOS version with Homebrew it should be enough to run

make preview

to install the dependencies and run a local copy on localhost:8191

It is also possible to install the dependencies manually:

brew install python
pip install lxml markdown

Using the system Python, dependencies must be installed differently:

sudo easy_install pip
sudo pip install lxml markdown

To run a local copy manually on localhost:8191, use:

./driver.py [www, next, previous]

On Debian-based Linux

On Debian and Ubuntu dependencies can be installed via apt:

sudo apt-get install python3-lxml python3-markdown python3-pygments

To run a local copy manually on localhost:8191, use:

./driver.py [www, next, previous]

Limitations of Local Copy

Note that when running a local copy the site will not feature:

  • Any release artefacts (such as Web versions of the man pages)
  • The blog

Modes

The website also has the concept of being deployed in modes. The three
modes are:

Mode, Description
:--------, :------------
www, This is the "normal" mode. You would normally deploy from the live branch with this mode.
next, This is the mode for next.rabbitmq.com. This mode has the home page and download page chopped down, no blog or search, and a watermark. You would normally deploy from the master branch with this mode.
previous, For previous.rabbitmq.com. The website is reduced in the same way as "next", but this mode is meant for previous releases rather than future releases.

You determine which mode you are using with an argument to the driver
or deploy scripts. Modes are implemented with the <x:modal/> tag and
the $page-mode variable in XSLT.

Tutorial Charts (Diagrams)

diagrams.py is a script generates PNGs from graph descriptions
embedded in files. Generally you don't need to run this, since the generated
PNGs are committed. To work on the diagrams please install Graphviz:

sudo apt-get install graphviz

Generating the Atom Feed

To generate the site/news.atom feed, run the following command:

xsltproc --novalid site/feed-atom.xsl site/news.xml > site/news.atom

See NOTICE and LICENSE.

主要指標

概覽
名稱與所有者rabbitmq/rabbitmq-website
主編程語言JavaScript
編程語言Python (語言數: 4)
平台
許可證Apache License 2.0
所有者活动
創建於2015-03-12 17:29:11
推送於2025-06-16 10:33:02
最后一次提交
發布數97
最新版本名稱rabbitmq_v3_6_14 (發布於 )
第一版名稱rabbitmq_v3_6_0_milestone2 (發布於 )
用户参与
星數1k
關注者數61
派生數771
提交數9.8k
已啟用問題?
問題數373
打開的問題數43
拉請求數1568
打開的拉請求數1
關閉的拉請求數234
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?