diff --git a/.drone.jsonnet b/.drone.jsonnet deleted file mode 100644 index a14838d..0000000 --- a/.drone.jsonnet +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2023 Christian Mazakas -# Distributed under the Boost Software License, Version 1.0. -# https://www.boost.org/LICENSE_1_0.txt - -local triggers = -{ - branch: [ "master", "develop", "feature/*", "bugfix/*", "fix/*", "pr/*", "base-template" ] -}; - -local linux_pipeline(name, image, environment, packages = "", sources = [], arch = "amd64") = -{ - name: name, - kind: "pipeline", - type: "docker", - trigger: triggers, - platform: - { - os: "linux", - arch: arch - }, - steps: - [ - { - name: "everything", - image: image, - environment: environment, - commands: - [ - 'set -e', - 'uname -a', - 'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -', - ] + - (if sources != [] then [ ('apt-add-repository "' + source + '"') for source in sources ] else []) + - (if packages != "" then [ 'apt-get update', 'apt-get -y install ' + packages ] else []) + - [ - './.drone/drone.sh', - ] - } - ] -}; - -[ - - linux_pipeline( - "Linux 22.04 GCC 11* 32/64", - "cppalliance/droneubuntu2204:1", - {}, - "asciidoctor" - ), - -] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 56c2796..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 2023 Christian Mazakas -# -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) ---- -name: CI - -on: - pull_request: - push: - branches: - - master - - develop - - bugfix/** - - feature/** - - fix/** - - pr/** - -concurrency: - group: ${{format('{0}:{1}', github.repository, github.ref)}} - cancel-in-progress: true - -env: - NET_RETRY_COUNT: 5 - -jobs: - posix: - defaults: - run: - shell: bash - - strategy: - fail-fast: false - matrix: - include: - # Linux, gcc - - { os: ubuntu-22.04, install: 'asciidoctor' } - - timeout-minutes: 180 - runs-on: ${{matrix.os}} - container: ${{matrix.container}} - - steps: - - name: Setup environment - run: | - if [ -f "/etc/debian_version" ]; then - echo "DEBIAN_FRONTEND=noninteractive" >> $GITHUB_ENV - export DEBIAN_FRONTEND=noninteractive - fi - if [ -n "${{matrix.container}}" ] && [ -f "/etc/debian_version" ]; then - apt-get -o Acquire::Retries=$NET_RETRY_COUNT update - apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common - # Need (newer) git, and the older Ubuntu container may require requesting the key manually using port 80 - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E1DD270288B4E6030699E45FA1715D88E1DF1F24 - for i in {1..${NET_RETRY_COUNT:-3}}; do sudo -E add-apt-repository -y ppa:git-core/ppa && break || sleep 10; done - apt-get -o Acquire::Retries=$NET_RETRY_COUNT update - apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y g++ python libpython-dev git - fi - - git config --global pack.threads 0 - - - uses: actions/checkout@v3 - with: - # For coverage builds fetch the whole history, else only 1 commit using a 'fake ternary' - fetch-depth: ${{ matrix.coverage && '0' || '1' }} - - - name: Install packages - if: startsWith(matrix.os, 'ubuntu') - run: | - SOURCE_KEYS=(${{join(matrix.source_keys, ' ')}}) - SOURCES=(${{join(matrix.sources, ' ')}}) - # Add this by default - SOURCES+=(ppa:ubuntu-toolchain-r/test) - for key in "${SOURCE_KEYS[@]}"; do - for i in {1..$NET_RETRY_COUNT}; do - wget -O - "$key" | sudo apt-key add - && break || sleep 10 - done - done - for source in "${SOURCES[@]}"; do - for i in {1..$NET_RETRY_COUNT}; do - sudo add-apt-repository $source && break || sleep 10 - done - done - sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT update - if [[ -z "${{matrix.install}}" ]]; then - pkgs="${{matrix.compiler}}" - pkgs="${pkgs/gcc-/g++-}" - else - pkgs="${{matrix.install}}" - fi - sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y $pkgs - - - name: Setup Boost - run: | - # Handle also /refs/head/master - if [ "$BOOST_CI_TARGET_BRANCH" == "master" ] || [[ "$BOOST_CI_TARGET_BRANCH" == */master ]]; then - export BOOST_BRANCH="master" - else - export BOOST_BRANCH="develop" - fi - - cd .. - - git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root - git submodule update -q --init tools/boostdep libs/config - python tools/boostdep/depinst/depinst.py config - ./bootstrap.sh - ./b2 -d0 headers - - echo 'using asciidoctor : "/usr/bin/asciidoctor" ;' > ~/user-config.jam - - - name: Run tests - run: | - cd ../boost-root - ./b2 ${GITHUB_WORKSPACE} - - diff --git a/Jamfile.v2 b/Jamfile.v2 deleted file mode 100644 index 4a362c7..0000000 --- a/Jamfile.v2 +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2023 Christian Mazakas. -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -import asciidoctor ; - -html index.html : doc/pages/index.adoc ; - -install html_ : index.html : html ; - -pdf boost-user-manual.pdf : doc/pages/index.adoc ; -explicit boost-user-manual.pdf ; - -install pdf_ : boost-user-manual.pdf : pdf ; -explicit pdf_ ; - -############################################################################### -alias boostdoc ; -explicit boostdoc ; -alias boostrelease : html_ ; -explicit boostrelease ; diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..fae032a --- /dev/null +++ b/README.adoc @@ -0,0 +1,2 @@ +# Boost User's Guide + diff --git a/antora/antora.yml b/antora/antora.yml index e9cbfda..7a9224e 100644 --- a/antora/antora.yml +++ b/antora/antora.yml @@ -1,5 +1,5 @@ -name: user-manual -title: User Manual +name: user-guide +title: User Guide version: ~ nav: - modules/ROOT/nav.adoc diff --git a/antora/modules/ROOT/pages/index.adoc b/antora/modules/ROOT/pages/index.adoc index cb6de64..c3c136c 100644 --- a/antora/modules/ROOT/pages/index.adoc +++ b/antora/modules/ROOT/pages/index.adoc @@ -1,10 +1 @@ = Contributor Guide -:toc: left -:toclevels: 3 -:idprefix: -:docinfo: private-footer -:source-highlighter: rouge -:source-language: c++ -:nofooter: -:sectlinks: -:doctype: article diff --git a/doc/pages/index.adoc b/doc/pages/index.adoc deleted file mode 100644 index da30317..0000000 --- a/doc/pages/index.adoc +++ /dev/null @@ -1,13 +0,0 @@ -= Boost User Manual -:toc: left -:toclevels: 3 -:idprefix: -:docinfo: private-footer -:source-highlighter: rouge -:source-language: c++ -:nofooter: -:sectlinks: - -:leveloffset: +1 - -include::intro.adoc[] diff --git a/doc/pages/intro.adoc b/doc/pages/intro.adoc deleted file mode 100644 index 9cfe30b..0000000 --- a/doc/pages/intro.adoc +++ /dev/null @@ -1,7 +0,0 @@ -[#intro] -= Introduction - -:idprefix: intro_ - -Boost is a collection of peer-reviewed and high-quality libraries that aim to -make application development simple and straight-forward for everyone!