git.iko.soy/typeable/pandoc
on master help sign in
Fix/update URLs and use HTTP**S** where possible (#7122)
commitfae6a204f1a072d5efe4dff35fd08fbad2071198 authorSalim B <salim@posteo.de> dateSat 27 Feb 2021, 01:56 (6 years ago) parent8123571
17 files changed+47−48
CONTRIBUTING.md+8−8 COPYING.md+1−1 COPYRIGHT+3−3 INSTALL.md+14−15 MANUAL.txt+1−1 README.template+5−5 doc/lua-filters.md+1−1 man/pandoc.1+1−1 man/pandoc.1.after+1−1 src/Text/Pandoc/Citeproc.hs+1−1 src/Text/Pandoc/Citeproc/BibTeX.hs+4−4 src/Text/Pandoc/Readers/Textile.hs+1−1 src/Text/Pandoc/Writers/Markdown.hs+1−1 test/txt2tags.t2t+1−1 trypandoc/index.html+1−1 windows/Makefile+1−1 windows/pandoc.wxs+2−2
CONTRIBUTING.md+8−8
@@ -372,7 +372,7 @@ The code
372372--------
373373
374374Pandoc has a publicly accessible git repository on
375−GitHub: <http://github.com/jgm/pandoc>. To get a local copy of the source:
375+GitHub: <https://github.com/jgm/pandoc>. To get a local copy of the source:
376376
377377 git clone https://github.com/jgm/pandoc.git
378378
@@ -382,7 +382,7 @@ the pandoc library is in `src/`, the source for the tests is in
382382
383383The modules `Text.Pandoc.Definition`, `Text.Pandoc.Builder`, and
384384`Text.Pandoc.Generic` are in a separate library `pandoc-types`. The code can
385−be found in <http://github.com/jgm/pandoc-types>.
385+be found in <https://github.com/jgm/pandoc-types>.
386386
387387To build pandoc, you will need a working installation of the
388388[Haskell platform].
@@ -445,14 +445,14 @@ you may want to consider submitting a pull request to the
445445[closed issues]: https://github.com/jgm/pandoc/issues?q=is%3Aissue+is%3Aclosed
446446[latest released version]: https://github.com/jgm/pandoc/releases/latest
447447[Nightly builds]: https://github.com/jgm/pandoc/actions?query=workflow%3ANightly
448−[pandoc-discuss]: http://groups.google.com/group/pandoc-discuss
448+[pandoc-discuss]: https://groups.google.com/group/pandoc-discuss
449449[issue tracker]: https://github.com/jgm/pandoc/issues
450−[User's Guide]: http://pandoc.org/MANUAL.html
451−[FAQs]: http://pandoc.org/faqs.html
452−[EditorConfig]: http://editorconfig.org/
453−[Haskell platform]: http://www.haskell.org/platform/
450+[User's Guide]: https://pandoc.org/MANUAL.html
451+[FAQs]: https://pandoc.org/faqs.html
452+[EditorConfig]: https://editorconfig.org/
453+[Haskell platform]: https://www.haskell.org/platform/
454454[hlint]: https://hackage.haskell.org/package/hlint
455−[hsb2hs]: http://hackage.haskell.org/package/hsb2hs
455+[hsb2hs]: https://hackage.haskell.org/package/hsb2hs
456456[pre-commit hook]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
457457[GitHub labels]: https://github.com/jgm/pandoc/labels
458458[good first issue]:https://github.com/jgm/pandoc/labels/good%20first%20issue
COPYING.md+1−1
@@ -357,5 +357,5 @@ into proprietary programs. If your program is a subroutine library,
357357you may consider it more useful to permit linking proprietary
358358applications with the library. If this is what you want to do, use the
359359[GNU Lesser General Public
360−License](http://www.gnu.org/licenses/lgpl.html) instead of this
360+License](https://www.gnu.org/licenses/lgpl.html) instead of this
361361License.
COPYRIGHT+3−3
@@ -22,11 +22,11 @@ The GNU General Public License is available in the file COPYING.md in
2222the source distribution. On Debian systems, the complete text of the
2323GPL can be found in `/usr/share/common-licenses/GPL`.
2424
25−[GPL]: http://www.gnu.org/copyleft/gpl.html
25+[GPL]: https://www.gnu.org/copyleft/gpl.html
2626
2727Pandoc's complete source code is available from the [Pandoc home page].
2828
29−[Pandoc home page]: http://pandoc.org
29+[Pandoc home page]: https://pandoc.org
3030
3131Pandoc includes some code with different copyrights, or subject to different
3232licenses. The copyright and license statements for these sources are included
@@ -176,7 +176,7 @@ Released under the GNU General Public License version 2 or later.
176176----------------------------------------------------------------------
177177The dzslides template contains JavaScript and CSS from Paul Rouget's
178178dzslides template.
179−http://github.com/paulrouget/dzslides
179+https://github.com/paulrouget/dzslides
180180
181181Released under the Do What the Fuck You Want To Public License.
182182
INSTALL.md+14−15
@@ -45,7 +45,7 @@ by downloading [this script][uninstaller]
4545and running it with `perl uninstall-pandoc.pl`.
4646
4747Alternatively, you can install pandoc using
48−[Homebrew](http://brew.sh):
48+[Homebrew](https://brew.sh):
4949
5050 brew install pandoc
5151
@@ -116,7 +116,7 @@ package repositories. For example, on Debian/Ubuntu,
116116you can install it with `apt-get install haskell-platform`.
117117
118118For PDF output, you'll need LaTeX. We recommend installing
119−[TeX Live](http://www.tug.org/texlive/) via your package
119+[TeX Live](https://www.tug.org/texlive/) via your package
120120manager. (On Debian/Ubuntu, `apt-get install texlive`.)
121121
122122## Chrome OS
@@ -238,7 +238,7 @@ The easiest way to build pandoc from source is to use [stack][stack]:
238238
239239 pandoc --help
240240
241− [Not sure where `$CABALDIR` is?](http://www.haskell.org/haskellwiki/Cabal-Install#The_cabal-install_configuration_file)
241+ [Not sure where `$CABALDIR` is?](https://wiki.haskell.org/Cabal-Install#The_cabal-install_configuration_file)
242242
2432435. By default `pandoc` uses the "i;unicode-casemap" method
244244 to sort bibliography entries (RFC 5051). If you would like to
@@ -383,30 +383,29 @@ To run just the markdown benchmarks:
383383
384384
385385[Arch]: https://www.archlinux.org/packages/community/x86_64/pandoc/
386−[Cabal User's Guide]: http://www.haskell.org/cabal/release/latest/doc/users-guide/builders.html#setup-configure-paths
386+[Cabal User's Guide]: https://cabal.readthedocs.io/
387387[Debian]: https://packages.debian.org/pandoc
388388[Fedora]: https://apps.fedoraproject.org/packages/pandoc
389−[FreeBSD ports]: http://www.freshports.org/textproc/hs-pandoc/
390−[GHC]: http://www.haskell.org/ghc/
391−[GPL]: http://www.gnu.org/copyleft/gpl.html
392−[Haskell platform]: http://hackage.haskell.org/platform/
393−[MacPorts]: http://trac.macports.org/browser/trunk/dports/textproc/pandoc/Portfile
389+[FreeBSD ports]: https://www.freshports.org/textproc/hs-pandoc/
390+[GHC]: https://www.haskell.org/ghc/
391+[Haskell platform]: https://hackage.haskell.org/platform/
392+[MacPorts]: https://trac.macports.org/browser/trunk/dports/textproc/pandoc/Portfile
394393[MacTeX]: https://tug.org/mactex/
395−[BasicTeX]: http://www.tug.org/mactex/morepackages.html
394+[BasicTeX]: https://www.tug.org/mactex/morepackages.html
396395[LaTeX]: https://www.latex-project.org
397−[MiKTeX]: http://miktex.org/
396+[MiKTeX]: https://miktex.org/
398397[librsvg]: https://wiki.gnome.org/Projects/LibRsvg
399398[Python]: https://www.python.org
400−[NetBSD]: http://pkgsrc.se/wip/pandoc
399+[NetBSD]: https://pkgsrc.se/wip/pandoc
401400[NixOS]: https://nixos.org/nixos/packages.html
402401[Slackware]: https://www.slackbuilds.org/result/?search=pandoc&sv=
403402[Ubuntu]: https://packages.ubuntu.com/pandoc
404403[download page]: https://github.com/jgm/pandoc/releases/latest
405−[gentoo]: http://packages.gentoo.org/package/app-text/pandoc
404+[gentoo]: https://packages.gentoo.org/package/app-text/pandoc
406405[haskell repository]: https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D
407406[openSUSE]: https://software.opensuse.org/package/pandoc
408−[source tarball]: http://hackage.haskell.org/package/pandoc
407+[source tarball]: https://hackage.haskell.org/package/pandoc
409408[stack]: https://docs.haskellstack.org/en/stable/install_and_upgrade.html
410−[cabal-install]: http://hackage.haskell.org/package/cabal-install
409+[cabal-install]: https://hackage.haskell.org/package/cabal-install
411410[Void]: https://voidlinux.org/
412411[uninstaller]: https://raw.githubusercontent.com/jgm/pandoc/master/macos/uninstall-pandoc.pl
MANUAL.txt+1−1
@@ -486,7 +486,7 @@ header when requesting a document from a URL:
486486[Emacs Org mode]: https://orgmode.org
487487[AsciiDoc]: https://www.methods.co.nz/asciidoc/
488488[AsciiDoctor]: https://asciidoctor.org/
489−[DZSlides]: http://paulrouget.com/dzslides/
489+[DZSlides]: https://paulrouget.com/dzslides/
490490[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
491491[PDF]: https://www.adobe.com/pdf/
492492[reveal.js]: https://revealjs.com/
README.template+5−5
@@ -7,9 +7,9 @@ Pandoc
77======
88
99[![github release](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases)
10−[![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](http://hackage.haskell.org/package/pandoc)
11−[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](http://brewformulas.org/Pandoc)
12−[![stackage LTS package](http://stackage.org/package/pandoc/badge/lts)](http://stackage.org/lts/package/pandoc)
10+[![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](https://hackage.haskell.org/package/pandoc)
11+[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](https://formulae.brew.sh/formula/pandoc)
12+[![stackage LTS package](https://stackage.org/package/pandoc/badge/lts)](https://www.stackage.org/lts/package/pandoc-types)
1313[![CI tests](https://github.com/jgm/pandoc/workflows/CI%20tests/badge.svg)](https://github.com/jgm/pandoc/actions)
1414[![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html)
1515[![pandoc-discuss on google groups](https://img.shields.io/badge/pandoc-discuss-red.svg?style=social)](https://groups.google.com/forum/#!forum/pandoc-discuss)
@@ -85,5 +85,5 @@ License
8585[GPL], version 2 or greater. This software carries no warranty of
8686any kind. (See COPYRIGHT for full copyright and warranty notices.)
8787
88−[GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License"
89−[Haskell]: http://haskell.org
88+[GPL]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html "GNU General Public License"
89+[Haskell]: https://haskell.org
doc/lua-filters.md+1−1
@@ -3478,7 +3478,7 @@ Contract a filename, based on a relative path. Note that the
34783478resulting path will usually not introduce `..` paths, as the
34793479presence of symlinks means `../b` may not reach `a/b` if it starts
34803480from `a/c`. For a worked example see [this blog
3481−post](http://neilmitchell.blogspot.co.uk/2015/10/filepaths-are-subtle-symlinks-are-hard.html).
3481+post](https://neilmitchell.blogspot.co.uk/2015/10/filepaths-are-subtle-symlinks-are-hard.html).
34823482
34833483Set `unsafe` to a truthy value to a allow `..` in paths.
34843484
man/pandoc.1+1−1
@@ -7495,4 +7495,4 @@ This software carries no warranty of any kind.
74957495of contributors, see the file AUTHORS.md in the pandoc source code.
74967496.PP
74977497The Pandoc source code and all documentation may be downloaded
7498−from <http://pandoc.org>.
7498+from <https://pandoc.org>.
man/pandoc.1.after+1−1
@@ -1,3 +1,3 @@
11.PP
22The Pandoc source code and all documentation may be downloaded
3−from <http://pandoc.org>.
3+from <https://pandoc.org>.
src/Text/Pandoc/Citeproc.hs+1−1
@@ -544,7 +544,7 @@ linkifyVariables ref =
544544 fixShortDOI x = let x' = extractText x
545545 in if "10/" `T.isPrefixOf` x'
546546 then TextVal $ T.drop 3 x'
547− -- see http://shortdoi.org
547+ -- see https://shortdoi.org
548548 else TextVal x'
549549 tolink pref x = let x' = extractText x
550550 x'' = if "://" `T.isInfixOf` x'
src/Text/Pandoc/Citeproc/BibTeX.hs+4−4
@@ -577,10 +577,10 @@ itemToReference locale variant item = do
577577 eprint <- getRawField "eprint"
578578 let baseUrl =
579579 case T.toLower etype of
580− "arxiv" -> "http://arxiv.org/abs/"
581− "jstor" -> "http://www.jstor.org/stable/"
582− "pubmed" -> "http://www.ncbi.nlm.nih.gov/pubmed/"
583− "googlebooks" -> "http://books.google.com?id="
580+ "arxiv" -> "https://arxiv.org/abs/"
581+ "jstor" -> "https://www.jstor.org/stable/"
582+ "pubmed" -> "https://www.ncbi.nlm.nih.gov/pubmed/"
583+ "googlebooks" -> "https://books.google.com?id="
584584 _ -> ""
585585 if T.null baseUrl
586586 then mzero
src/Text/Pandoc/Readers/Textile.hs+1−1
@@ -11,7 +11,7 @@
1111 Portability : portable
1212
1313Conversion from Textile to 'Pandoc' document, based on the spec
14−available at http://redcloth.org/textile.
14+available at https://www.promptworks.com/textile/.
1515
1616Implemented and parsed:
1717 - Paragraphs
src/Text/Pandoc/Writers/Markdown.hs+1−1
@@ -14,7 +14,7 @@
1414
1515Conversion of 'Pandoc' documents to markdown-formatted plain text.
1616
17−Markdown: <http://daringfireball.net/projects/markdown/>
17+Markdown: <https://daringfireball.net/projects/markdown/>
1818-}
1919module Text.Pandoc.Writers.Markdown (
2020 writeMarkdown,
test/txt2tags.t2t+1−1
@@ -270,7 +270,7 @@ FTP.DOMAIN.COM
270270[img.png]
271271
272272%%% Syntax: Image pointing to a link: [[img] link]
273−[[img.png] http://txt2tags.org]
273+[[img.png] https://txt2tags.org]
274274
275275%%% Align: Image position is preserved when inside paragraph
276276[img.png] Image at the line beginning.
trypandoc/index.html+1−1
@@ -14,7 +14,7 @@
1414 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
1515 <script>
1616"use strict";
17−(function($) { // http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values
17+(function($) { // https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values
1818 $.QueryString = (function(a) {
1919 if (a == "") return {};
2020 var b = {};
windows/Makefile+1−1
@@ -6,5 +6,5 @@ all: $(SIGNED)
66.PHONY: all
77
88pandoc-%.msi: pandoc-%-UNSIGNED.msi
9− osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass && rm $<
9+ osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i https://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass && rm $<
1010
windows/pandoc.wxs+2−2
@@ -123,8 +123,8 @@
123123
124124
125125 <!-- Set properties for add/remove programs -->
126− <Property Id="ARPURLINFOABOUT" Value="http://pandoc.org" />
127− <Property Id="ARPHELPLINK" Value="http://pandoc.org" />
126+ <Property Id="ARPURLINFOABOUT" Value="https://pandoc.org" />
127+ <Property Id="ARPHELPLINK" Value="https://pandoc.org" />
128128 <Property Id="ARPNOREPAIR" Value="yes" Secure="yes" /> <!-- Remove repair -->
129129 <Property Id="ARPNOMODIFY" Value="yes" Secure="yes" /> <!-- Remove modify -->
130130