Commit graph

4008 commits

Author SHA1 Message Date
Simon Legner
e9c854c9e9
Merge pull request #1547 from Cimbali/R 2021-06-09 07:16:46 +02:00
Simon Legner
e12068f64a Update TypeScript documentation (4.3.2) 2021-06-08 10:42:28 +02:00
Bryan Hernández
fb5e6080c6
Merge pull request #1558 from astoff/patch-1
Mention devdocs.el in the README
2021-06-06 18:04:33 -06:00
Augusto Stoffel
44274c84dd
Update README.md
As suggested in https://github.com/freeCodeCamp/devdocs/issues/133#issuecomment-851252606
2021-06-02 18:48:48 +02:00
Cimbali
005db388ce Rewrite links by generating scraper :replace_paths from entries filter 2021-06-02 00:20:51 +02:00
Cimbali
42731d6407 Clean footer from R packages
Only exist in the newer way of building html pages, via configure
2021-06-01 23:20:52 +02:00
Cimbali
3194a3f3e5 Skip links to pages with “vignettes” demos 2021-06-01 01:05:06 +02:00
Simon Legner
5d966ea058 Twitter card meta tags
Fixes #1527.
2021-05-31 21:34:34 +02:00
Simon Legner
1885855244 Show notification of new docs: web_extensions 2021-05-31 21:17:51 +02:00
Simon Legner
df7fa0ba5e
Merge pull request #1549 from Cimbali/webexts 2021-05-31 21:08:51 +02:00
Simon Legner
3b1a217f40
Merge pull request #1552 from Cimbali/jq 2021-05-31 20:54:09 +02:00
Cimbali
94b404450c Reindex R documentation, include 2 manuals
Now each page is indexed by their title (by default), and each index
term declared for it on the index

2 manuals are included, the data import/export as its own category (as
it is rather short), and each top-level section of the R introduction
manual (as it is quite a bit longer).

Add some manual cleanup.

Some pages still seem missing:
- either belonging to non-default packages, i.e. it is normal that they miss
- or corresponding to index words without their own package (!)
2021-05-27 17:18:41 +02:00
Cimbali
7269d5431f Improve jq examples: simplify HTML, add %pre CSS 2021-05-27 14:18:16 +02:00
Cimbali
e766158d2d Remove unused nodes in LaTeX sources 2021-05-27 12:36:55 +02:00
Enoc
db902684a2 Show notification of new docs: latex, jq 2021-05-26 21:28:07 -06:00
Cimbali
6abc208535 Use MDN scraper for web extensions 2021-05-26 22:55:26 +02:00
Cimbali
c3b93377c3
Update lib/docs/scrapers/r.rb
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2021-05-26 21:07:36 +01:00
Cimbali
c6cf8d9c6f
Update assets/javascripts/templates/pages/about_tmpl.coffee
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2021-05-26 21:07:28 +01:00
Simon Legner
d55da94921
Merge pull request #1550 from Cimbali/jq 2021-05-26 21:29:11 +02:00
Simon Legner
727c0c31c7 jq: add to about_tmpl 2021-05-26 21:28:13 +02:00
Simon Legner
9a8b94fad5 jq: get_latest_version 2021-05-26 21:27:50 +02:00
Simon Legner
861ad32fbd LaTeX: add to about_tmpl
See #1548.
2021-05-26 21:22:01 +02:00
Simon Legner
5916ee829c
Merge pull request #1548 from Cimbali/latex 2021-05-26 21:18:38 +02:00
Simon Legner
f139802767 LaTeX: syntax highlighting 2021-05-26 21:13:38 +02:00
Cimbali
8fdca1d87c Add jq 2021-05-26 11:51:05 +02:00
Cimbali
21443dc914 Addd WebExtensions 2021-05-26 02:46:41 +02:00
Cimbali
776ec5a35d Add LaTeX documentation from https://latexref.xyz
From https://ctan.org/pkg/latex2e-help-texinfo, the license is Public Domain.
2021-05-25 22:48:06 +02:00
Cimbali
0b38f339f1 Add R documentation
Contains the R base + recommended package help pages converted to HTML.

Equivalent to the fullrefman.pdf generated from source, which is also
called « The R Reference Index » on https://cran.r-project.org/manuals.html

Currently does not include reference manuals and miscellanea (FAQ, etc.)

Script building the documentation:

```bash

set -e
set -o pipefail

DEVDOCSROOT=/path/to/devdocs/docs/r

RSOURCEDIR=${TMPDIR:-/tmp}/R/latest
RBUILDDIR=${TMPDIR:-/tmp}/R/build

RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz

R="$RBUILDDIR/bin/R"
libdir="$RBUILDDIR/library"
docdir=$RBUILDDIR/doc
makevars="$RSOURCEDIR/share/make/vars.mk"

if [ ! -f "$R" ] ; then
	if [ ! -d "$RSOURCEDIR" ]; then
		mkdir -p "$RSOURCEDIR" && curl "$RLATEST" | tar -C "$RSOURCEDIR" -xzf - --strip-components=1
	fi

	[ -d "$RBUILDDIR" ] || mkdir -p "$RBUILDDIR"
	[ -f "$RBUILDDIR/config.status" ] || (cd "$RBUILDDIR" && "$RSOURCEDIR/configure")
	make -C "$RBUILDDIR" && make -C "$RBUILDDIR" docs
fi

mkdir -p "$DEVDOCSROOT/doc" && cp -r "$docdir"/* "$DEVDOCSROOT/doc/"
find "$libdir" -type d -name 'html' -printf '%P\n' | while read d; do
	mkdir -p "$DEVDOCSROOT/library/$d"
	cp -r "$libdir/$d"/* "$DEVDOCSROOT/library/$d/"
done

R_PKGS_BASE="`sed -n 's/^R_PKGS_BASE *= *//p' $makevars`"
R_PKGS_RECOMMENDED="`sed -n 's/^R_PKGS_RECOMMENDED *= *//p' $makevars`"

cat <<EOF | _R_HELP_LINKS_TO_TOPICS_=FALSE $R --vanilla --no-echo
links <- tools::findHTMLlinks()
for (pkg in c(`echo $R_PKGS_BASE $R_PKGS_RECOMMENDED | sed 's/\S\+/"&"/g;s/ /, /g'`)) {
	Rd <- tools::Rd_db(pkg, lib.loc="$libdir")
	if (!length(Rd)) {
		message(paste("ERROR: no help files found for package", pkg))
	} else {
		message(paste0(pkg, "..."))
	}
	for(f in names(Rd)) {
		out <- file.path("$DEVDOCSROOT/library", pkg, "html", sub("[Rr]d$", "html", basename(f)))
		tools::Rd2HTML(Rd[[f]], out, package = "$pkg", defines = .Platform\$OS.type,
					   outputEncoding = "UTF-8", no_links = FALSE, dynamic = FALSE,
					   Links = links, stages = c("build", "install", "render"))
	}
}
EOF

echo "DONE! Start at $DEVDOCSROOT/doc/html/index.html (or $DEVDOCSROOT/doc/html/packages.html)"
```
2021-05-25 19:02:06 +02:00
Bryan Hernández
e486e4258a
Merge pull request #1545 from breunigs/add-elixir-1-12
add elixir 1.12 documentation
2021-05-25 00:27:02 -06:00
Enoc
f489154ed7 Update Gnuplot documentation (5.4.0) 2021-05-25 00:12:40 -06:00
Stefan Breunig
24ac996ec8 Elixir: include source link in section headers
This implements #763 just for Elixir without solving the general
issue. The style used is similar to the one of the Go docs.
2021-05-25 07:20:53 +02:00
Stefan Breunig
fdfc4dd522 add elixir 1.12 documentation 2021-05-24 09:28:27 +02:00
Simon Legner
591c30014a Update HAProxy documentation (2.4.0) 2021-05-23 20:34:54 +02:00
Enoc
cce7c49152 Update node to 16.2.0.
- Fix bugs introduced by new style in code blocks.
2021-05-20 00:08:08 -06:00
Simon Legner
83c59a5a4d Update nginx documentation (1.20.0) 2021-05-13 17:06:55 +02:00
Simon Legner
b5635fa550 Update Angular documentation (12.0.0) 2021-05-13 13:19:55 +02:00
Simon Legner
314010b205 Update Dart documentation (2.13.0) 2021-05-13 12:50:13 +02:00
Simon Legner
f980bde4c6 Update Qt documentation (6.1) 2021-05-13 12:35:47 +02:00
Simon Legner
475ccff08e Update webpack documentation (5.37.0) 2021-05-13 12:30:19 +02:00
Simon Legner
38660c534a Update D3.js documentation (6.7.0) 2021-05-13 12:28:05 +02:00
Simon Legner
0a0894394e Update ESLint documentation (7.26.0) 2021-05-13 12:24:22 +02:00
Simon Legner
fd1cd2fcbd Update Erlang documentation (24.0) 2021-05-13 12:18:40 +02:00
Simon Legner
5ab83e5760 Update RxJS documentation (7.0.1) 2021-05-13 12:14:17 +02:00
Simon Legner
f378bc0e98 Update Jinja documentation (3.0.x) 2021-05-13 12:13:02 +02:00
Simon Legner
b6ddb21a2f Update Werkzeug documentation (2.0.x) 2021-05-13 12:10:02 +02:00
Simon Legner
d0b63b6036 Update Rust documentation (1.52.1) 2021-05-13 11:59:48 +02:00
Simon Legner
6f3c1167e2 Update Flask documentation (2.0.x) 2021-05-13 11:40:25 +02:00
Enoc
1ac3dd93dd Update nodejs to 16.1 and update previous version 2021-05-12 16:37:19 -06:00
Enoc
1eaf12b94e Update Cypress documentation (7.2.0) 2021-05-07 23:28:03 -06:00
Simon Legner
a78db966d2 Update Bootstrap documentation (5.0) 2021-05-07 07:51:03 +02:00