GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Behat/docs: Behat documentation repository

BranchesTags
Open more actions menu

Latest commit

 

History

410 Commits
410 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
_theme
_theme
 
 
cookbooks
cookbooks
 
 
docker
docker
 
 
images
images
 
 
releases
releases
 
 
user_guide
user_guide
 
 
.gitignore
.gitignore
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
.typos.toml
.typos.toml
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
behat_and_ai.rst
behat_and_ai.rst
 
 
borg.json
borg.json
 
 
community.rst
community.rst
 
 
conf.py
conf.py
 
 
cookbooks.rst
cookbooks.rst
 
 
docker-compose.yml
docker-compose.yml
 
 
guides.rst
guides.rst
 
 
index.rst
index.rst
 
 
quick_start.rst
quick_start.rst
 
 
releases.rst
releases.rst
 
 
requirements.txt
requirements.txt
 
 
useful_resources.rst
useful_resources.rst
 
 

Repository files navigation

Documentation & web content for docs.behat.org

This repo holds the content for https://docs.behat.org/, which is built and hosted on Read the Docs Community (RtD). https://behat.org and https://www.behat.org both redirect to this site.

At the moment, RtD does not feed build status back to GitHub for builds on a project's main branch(es). Instead, you can find build history for each version on RtD.

Version Status Docs URL Build dashboard
v2.5 Documentation Status https://docs.behat.org/en/v2.5/ v2.5 build history
v3.x Documentation Status https://docs.behat.org/en/v3.x/ v3.x build history
v4.x Documentation Status https://docs.behat.org/en/v4.x/ v4.x build history
latest* Documentation Status https://docs.behat.org/en/latest/ "latest" build history

* the "latest" version is currently also based off the v4.x branch, but is a separate build on RTD.

Project structure

The site is built using sphinx, a python-based documentation generator based on reStructuredText (.rst) or MyST Markdown (.md) files. Most content is populated in these files.

reStructuredText is similar to Markdown, with some differences. The following resources may be useful:

  • RtD's Getting started with RST tutorial
  • The Spinx reStructuredText primer
  • @waldyrious' browser-based RST playground

Sphinx takes these .rst/.md source files and renders them into the final HTML site with the custom borg theme. You'll find the templates and resources for this under the _themes/borg directory. The theme provides the overall page layout, as well as features such as automatic contents pages and navigation.

Previewing on GitHub

The GitHub web interface natively supports rendering both reStructuredText and Markdown files. For simple changes, this is often the quickest way to check the formatting of your contribution. Custom sphinx tags & metadata (including some navigation tags & internal links) will not be rendered, but the main content should appear roughly as it will in the built version.

Building locally

For more significant changes, you may want to build the full docs site locally. For this, you will need python, sphinx and the relevant dependencies.

The easiest solution may be to use a temporary docker container. In this repository you will find a Dockerfile and a docker-compose.yml file that will let you do that easily.

You can run a one-time build:

# Launch a docker container with the right dependencies and run the site build command
# This will build the container if needed, using the Dockerfile
docker compose run --rm read-the-docs-builder build

# The docs will be generated into _build/html
# Check the CLI output for any errors

Or you can serve the docs locally over HTTP and rebuild them automatically as you make changes:

# By default, the docs will be served on port 8000 but you can specify a custom port
SPHINX_PORT=8129 docker compose up --remove-orphans

# Browse to http://localhost:8129 (or your specified SPHINX_PORT) to see the built docs.
# They will re-build and refresh in the browser each time you save changes.

# The docs will also be generated statically into _build/html

If you encounter problems, start by looking at the logs of the latest build on Read the Docs to see the commands that were executed. It's possible that this README has got out of date with later changes to the build process.

About

Behat documentation repository

behat.org

Resources

Readme
Activity
Custom properties

Stars

29 stars

Watchers

6 watching

Forks

71 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.