forked from cpp-netlib/url
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/boost-original/master'
- Loading branch information
Showing
162 changed files
with
84,040 additions
and
1,710 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ html | |
temp | ||
out.txt | ||
qbk/reference.qbk | ||
node_modules | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,19 @@ | ||
## Instructions for Documentation | ||
|
||
There are different possible configurations when building the docs: | ||
Scripts to build the documentation can be found at https://github.com/boostorg/release-tools/tree/master/build_docs | ||
|
||
Option 1. Start out with single boost library, such as the one in this repository. A new boost-root directory is generated for you, next to the current repo, (in the location ../boost-root) and the docs are output to ../boost-root/libs/_name-of-this-repo_/doc/html | ||
For example on a Linux system, copy the file `linuxdocs.sh` into the current directory and run it. | ||
|
||
or | ||
|
||
Option 2. You have already set up boost-root. The repo has already been placed in boost-root/libs/_name-of-this-repo_, and that's where you run the build. In that case, the docs are output in the current directory, such as _name-of-this-repo_/doc/html. The existing boost-root is used. | ||
|
||
Either of the above choices are possible. The build scripts detect if they are being run from a boost-root or not. | ||
|
||
In order to build the documentation, refer to the appropriate sections below: | ||
|
||
## Linux | ||
|
||
Run the linuxdocs.sh script which can be found in the doc/tools directory: | ||
``` | ||
tools/linuxdocs.sh | ||
./linuxdocs.sh | ||
``` | ||
|
||
|
||
## Mac OSX | ||
|
||
Run the osxdocs.sh script which can be found in the doc/tools directory: | ||
``` | ||
tools/osxdocs.sh | ||
``` | ||
|
||
## Windows | ||
|
||
Run the powershell script windowsdocs.ps1 which can be found in the doc/tools directory: | ||
``` | ||
.\tools\windowsdocs.ps1 | ||
``` | ||
The QuickBook or AsciiDoc files are compiled into html format. | ||
|
||
## Help Card | ||
|
||
To edit the Help Card in `HelpCard.org`, use LibreOffice Draw and install the | ||
following fonts: | ||
|
||
- [Cairo](https://fonts.google.com/specimen/Cairo) | ||
- [M+ 1M](https://www.fontsquirrel.com/fonts/m-1m) | ||
- [M+ 1M](https://www.fontsquirrel.com/fonts/m-1m) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# Copyright (c) 2023 Alan de Freitas ([email protected]) | ||
# | ||
# 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) | ||
# | ||
# Official repository: https://github.com/boostorg/url | ||
# | ||
|
||
name: url | ||
version: ~ | ||
title: Boost.URL | ||
start_page: index.adoc | ||
asciidoc: | ||
attributes: | ||
source-language: asciidoc@ | ||
table-caption: false | ||
nav: | ||
- modules/ROOT/nav.adoc | ||
ext: | ||
collector: | ||
run: | ||
command: node doc/generate-files.mjs | ||
scan: | ||
dir: doc/build/generated-files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Copyright (c) 2023 Alan de Freitas ([email protected]) | ||
# | ||
# 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) | ||
# | ||
# Official repository: https://github.com/boostorg/url | ||
# | ||
|
||
if [ $# -eq 0 ] | ||
then | ||
echo "No playbook supplied, using default playbook" | ||
PLAYBOOK="local-playbook.yml" | ||
else | ||
PLAYBOOK=$1 | ||
fi | ||
|
||
echo "Building documentation with Antora..." | ||
echo "Installing npm dependencies..." | ||
npm ci | ||
|
||
echo "Building docs in custom dir..." | ||
PATH="$(pwd)/node_modules/.bin:${PATH}" | ||
export PATH | ||
npx antora --clean --fetch "$PLAYBOOK" | ||
echo "Done" | ||
|
Oops, something went wrong.