Fix/update URLs and use HTTP**S** where possible ()

This commit is contained in:
Salim B 2021-02-27 01:56:04 +00:00 committed by GitHub
parent 8123571e8e
commit fae6a204f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 47 additions and 48 deletions

View file

@ -372,7 +372,7 @@ The code
-------- --------
Pandoc has a publicly accessible git repository on Pandoc has a publicly accessible git repository on
GitHub: <http://github.com/jgm/pandoc>. To get a local copy of the source: GitHub: <https://github.com/jgm/pandoc>. To get a local copy of the source:
git clone https://github.com/jgm/pandoc.git git clone https://github.com/jgm/pandoc.git
@ -382,7 +382,7 @@ the pandoc library is in `src/`, the source for the tests is in
The modules `Text.Pandoc.Definition`, `Text.Pandoc.Builder`, and The modules `Text.Pandoc.Definition`, `Text.Pandoc.Builder`, and
`Text.Pandoc.Generic` are in a separate library `pandoc-types`. The code can `Text.Pandoc.Generic` are in a separate library `pandoc-types`. The code can
be found in <http://github.com/jgm/pandoc-types>. be found in <https://github.com/jgm/pandoc-types>.
To build pandoc, you will need a working installation of the To build pandoc, you will need a working installation of the
[Haskell platform]. [Haskell platform].
@ -445,14 +445,14 @@ you may want to consider submitting a pull request to the
[closed issues]: https://github.com/jgm/pandoc/issues?q=is%3Aissue+is%3Aclosed [closed issues]: https://github.com/jgm/pandoc/issues?q=is%3Aissue+is%3Aclosed
[latest released version]: https://github.com/jgm/pandoc/releases/latest [latest released version]: https://github.com/jgm/pandoc/releases/latest
[Nightly builds]: https://github.com/jgm/pandoc/actions?query=workflow%3ANightly [Nightly builds]: https://github.com/jgm/pandoc/actions?query=workflow%3ANightly
[pandoc-discuss]: http://groups.google.com/group/pandoc-discuss [pandoc-discuss]: https://groups.google.com/group/pandoc-discuss
[issue tracker]: https://github.com/jgm/pandoc/issues [issue tracker]: https://github.com/jgm/pandoc/issues
[User's Guide]: http://pandoc.org/MANUAL.html [User's Guide]: https://pandoc.org/MANUAL.html
[FAQs]: http://pandoc.org/faqs.html [FAQs]: https://pandoc.org/faqs.html
[EditorConfig]: http://editorconfig.org/ [EditorConfig]: https://editorconfig.org/
[Haskell platform]: http://www.haskell.org/platform/ [Haskell platform]: https://www.haskell.org/platform/
[hlint]: https://hackage.haskell.org/package/hlint [hlint]: https://hackage.haskell.org/package/hlint
[hsb2hs]: http://hackage.haskell.org/package/hsb2hs [hsb2hs]: https://hackage.haskell.org/package/hsb2hs
[pre-commit hook]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks [pre-commit hook]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
[GitHub labels]: https://github.com/jgm/pandoc/labels [GitHub labels]: https://github.com/jgm/pandoc/labels
[good first issue]:https://github.com/jgm/pandoc/labels/good%20first%20issue [good first issue]:https://github.com/jgm/pandoc/labels/good%20first%20issue

View file

@ -357,5 +357,5 @@ into proprietary programs. If your program is a subroutine library,
you may consider it more useful to permit linking proprietary you may consider it more useful to permit linking proprietary
applications with the library. If this is what you want to do, use the applications with the library. If this is what you want to do, use the
[GNU Lesser General Public [GNU Lesser General Public
License](http://www.gnu.org/licenses/lgpl.html) instead of this License](https://www.gnu.org/licenses/lgpl.html) instead of this
License. License.

View file

@ -22,11 +22,11 @@ The GNU General Public License is available in the file COPYING.md in
the source distribution. On Debian systems, the complete text of the the source distribution. On Debian systems, the complete text of the
GPL can be found in `/usr/share/common-licenses/GPL`. GPL can be found in `/usr/share/common-licenses/GPL`.
[GPL]: http://www.gnu.org/copyleft/gpl.html [GPL]: https://www.gnu.org/copyleft/gpl.html
Pandoc's complete source code is available from the [Pandoc home page]. Pandoc's complete source code is available from the [Pandoc home page].
[Pandoc home page]: http://pandoc.org [Pandoc home page]: https://pandoc.org
Pandoc includes some code with different copyrights, or subject to different Pandoc includes some code with different copyrights, or subject to different
licenses. The copyright and license statements for these sources are included licenses. 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.
---------------------------------------------------------------------- ----------------------------------------------------------------------
The dzslides template contains JavaScript and CSS from Paul Rouget's The dzslides template contains JavaScript and CSS from Paul Rouget's
dzslides template. dzslides template.
http://github.com/paulrouget/dzslides https://github.com/paulrouget/dzslides
Released under the Do What the Fuck You Want To Public License. Released under the Do What the Fuck You Want To Public License.

View file

@ -45,7 +45,7 @@ by downloading [this script][uninstaller]
and running it with `perl uninstall-pandoc.pl`. and running it with `perl uninstall-pandoc.pl`.
Alternatively, you can install pandoc using Alternatively, you can install pandoc using
[Homebrew](http://brew.sh): [Homebrew](https://brew.sh):
brew install pandoc brew install pandoc
@ -116,7 +116,7 @@ package repositories. For example, on Debian/Ubuntu,
you can install it with `apt-get install haskell-platform`. you can install it with `apt-get install haskell-platform`.
For PDF output, you'll need LaTeX. We recommend installing For PDF output, you'll need LaTeX. We recommend installing
[TeX Live](http://www.tug.org/texlive/) via your package [TeX Live](https://www.tug.org/texlive/) via your package
manager. (On Debian/Ubuntu, `apt-get install texlive`.) manager. (On Debian/Ubuntu, `apt-get install texlive`.)
## Chrome OS ## Chrome OS
@ -238,7 +238,7 @@ The easiest way to build pandoc from source is to use [stack][stack]:
pandoc --help pandoc --help
[Not sure where `$CABALDIR` is?](http://www.haskell.org/haskellwiki/Cabal-Install#The_cabal-install_configuration_file) [Not sure where `$CABALDIR` is?](https://wiki.haskell.org/Cabal-Install#The_cabal-install_configuration_file)
5. By default `pandoc` uses the "i;unicode-casemap" method 5. By default `pandoc` uses the "i;unicode-casemap" method
to sort bibliography entries (RFC 5051). If you would like to to sort bibliography entries (RFC 5051). If you would like to
@ -383,30 +383,29 @@ To run just the markdown benchmarks:
[Arch]: https://www.archlinux.org/packages/community/x86_64/pandoc/ [Arch]: https://www.archlinux.org/packages/community/x86_64/pandoc/
[Cabal User's Guide]: http://www.haskell.org/cabal/release/latest/doc/users-guide/builders.html#setup-configure-paths [Cabal User's Guide]: https://cabal.readthedocs.io/
[Debian]: https://packages.debian.org/pandoc [Debian]: https://packages.debian.org/pandoc
[Fedora]: https://apps.fedoraproject.org/packages/pandoc [Fedora]: https://apps.fedoraproject.org/packages/pandoc
[FreeBSD ports]: http://www.freshports.org/textproc/hs-pandoc/ [FreeBSD ports]: https://www.freshports.org/textproc/hs-pandoc/
[GHC]: http://www.haskell.org/ghc/ [GHC]: https://www.haskell.org/ghc/
[GPL]: http://www.gnu.org/copyleft/gpl.html [Haskell platform]: https://hackage.haskell.org/platform/
[Haskell platform]: http://hackage.haskell.org/platform/ [MacPorts]: https://trac.macports.org/browser/trunk/dports/textproc/pandoc/Portfile
[MacPorts]: http://trac.macports.org/browser/trunk/dports/textproc/pandoc/Portfile
[MacTeX]: https://tug.org/mactex/ [MacTeX]: https://tug.org/mactex/
[BasicTeX]: http://www.tug.org/mactex/morepackages.html [BasicTeX]: https://www.tug.org/mactex/morepackages.html
[LaTeX]: https://www.latex-project.org [LaTeX]: https://www.latex-project.org
[MiKTeX]: http://miktex.org/ [MiKTeX]: https://miktex.org/
[librsvg]: https://wiki.gnome.org/Projects/LibRsvg [librsvg]: https://wiki.gnome.org/Projects/LibRsvg
[Python]: https://www.python.org [Python]: https://www.python.org
[NetBSD]: http://pkgsrc.se/wip/pandoc [NetBSD]: https://pkgsrc.se/wip/pandoc
[NixOS]: https://nixos.org/nixos/packages.html [NixOS]: https://nixos.org/nixos/packages.html
[Slackware]: https://www.slackbuilds.org/result/?search=pandoc&sv= [Slackware]: https://www.slackbuilds.org/result/?search=pandoc&sv=
[Ubuntu]: https://packages.ubuntu.com/pandoc [Ubuntu]: https://packages.ubuntu.com/pandoc
[download page]: https://github.com/jgm/pandoc/releases/latest [download page]: https://github.com/jgm/pandoc/releases/latest
[gentoo]: http://packages.gentoo.org/package/app-text/pandoc [gentoo]: https://packages.gentoo.org/package/app-text/pandoc
[haskell repository]: https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D [haskell repository]: https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D
[openSUSE]: https://software.opensuse.org/package/pandoc [openSUSE]: https://software.opensuse.org/package/pandoc
[source tarball]: http://hackage.haskell.org/package/pandoc [source tarball]: https://hackage.haskell.org/package/pandoc
[stack]: https://docs.haskellstack.org/en/stable/install_and_upgrade.html [stack]: https://docs.haskellstack.org/en/stable/install_and_upgrade.html
[cabal-install]: http://hackage.haskell.org/package/cabal-install [cabal-install]: https://hackage.haskell.org/package/cabal-install
[Void]: https://voidlinux.org/ [Void]: https://voidlinux.org/
[uninstaller]: https://raw.githubusercontent.com/jgm/pandoc/master/macos/uninstall-pandoc.pl [uninstaller]: https://raw.githubusercontent.com/jgm/pandoc/master/macos/uninstall-pandoc.pl

View file

@ -486,7 +486,7 @@ header when requesting a document from a URL:
[Emacs Org mode]: https://orgmode.org [Emacs Org mode]: https://orgmode.org
[AsciiDoc]: https://www.methods.co.nz/asciidoc/ [AsciiDoc]: https://www.methods.co.nz/asciidoc/
[AsciiDoctor]: https://asciidoctor.org/ [AsciiDoctor]: https://asciidoctor.org/
[DZSlides]: http://paulrouget.com/dzslides/ [DZSlides]: https://paulrouget.com/dzslides/
[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML [Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
[PDF]: https://www.adobe.com/pdf/ [PDF]: https://www.adobe.com/pdf/
[reveal.js]: https://revealjs.com/ [reveal.js]: https://revealjs.com/

View file

@ -7,9 +7,9 @@ Pandoc
====== ======
[![github release](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases) [![github release](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases)
[![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](http://hackage.haskell.org/package/pandoc) [![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](https://hackage.haskell.org/package/pandoc)
[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](http://brewformulas.org/Pandoc) [![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](https://formulae.brew.sh/formula/pandoc)
[![stackage LTS package](http://stackage.org/package/pandoc/badge/lts)](http://stackage.org/lts/package/pandoc) [![stackage LTS package](https://stackage.org/package/pandoc/badge/lts)](https://www.stackage.org/lts/package/pandoc-types)
[![CI tests](https://github.com/jgm/pandoc/workflows/CI%20tests/badge.svg)](https://github.com/jgm/pandoc/actions) [![CI tests](https://github.com/jgm/pandoc/workflows/CI%20tests/badge.svg)](https://github.com/jgm/pandoc/actions)
[![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html) [![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html)
[![pandoc-discuss on google groups](https://img.shields.io/badge/pandoc-discuss-red.svg?style=social)](https://groups.google.com/forum/#!forum/pandoc-discuss) [![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
[GPL], version 2 or greater. This software carries no warranty of [GPL], version 2 or greater. This software carries no warranty of
any kind. (See COPYRIGHT for full copyright and warranty notices.) any kind. (See COPYRIGHT for full copyright and warranty notices.)
[GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License" [GPL]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html "GNU General Public License"
[Haskell]: http://haskell.org [Haskell]: https://haskell.org

View file

@ -3478,7 +3478,7 @@ Contract a filename, based on a relative path. Note that the
resulting path will usually not introduce `..` paths, as the resulting path will usually not introduce `..` paths, as the
presence of symlinks means `../b` may not reach `a/b` if it starts presence of symlinks means `../b` may not reach `a/b` if it starts
from `a/c`. For a worked example see [this blog from `a/c`. For a worked example see [this blog
post](http://neilmitchell.blogspot.co.uk/2015/10/filepaths-are-subtle-symlinks-are-hard.html). post](https://neilmitchell.blogspot.co.uk/2015/10/filepaths-are-subtle-symlinks-are-hard.html).
Set `unsafe` to a truthy value to a allow `..` in paths. Set `unsafe` to a truthy value to a allow `..` in paths.

View file

@ -7495,4 +7495,4 @@ This software carries no warranty of any kind.
of contributors, see the file AUTHORS.md in the pandoc source code. of contributors, see the file AUTHORS.md in the pandoc source code.
.PP .PP
The Pandoc source code and all documentation may be downloaded The Pandoc source code and all documentation may be downloaded
from <http://pandoc.org>. from <https://pandoc.org>.

View file

@ -1,3 +1,3 @@
.PP .PP
The Pandoc source code and all documentation may be downloaded The Pandoc source code and all documentation may be downloaded
from <http://pandoc.org>. from <https://pandoc.org>.

View file

@ -544,7 +544,7 @@ linkifyVariables ref =
fixShortDOI x = let x' = extractText x fixShortDOI x = let x' = extractText x
in if "10/" `T.isPrefixOf` x' in if "10/" `T.isPrefixOf` x'
then TextVal $ T.drop 3 x' then TextVal $ T.drop 3 x'
-- see http://shortdoi.org -- see https://shortdoi.org
else TextVal x' else TextVal x'
tolink pref x = let x' = extractText x tolink pref x = let x' = extractText x
x'' = if "://" `T.isInfixOf` x' x'' = if "://" `T.isInfixOf` x'

View file

@ -577,10 +577,10 @@ itemToReference locale variant item = do
eprint <- getRawField "eprint" eprint <- getRawField "eprint"
let baseUrl = let baseUrl =
case T.toLower etype of case T.toLower etype of
"arxiv" -> "http://arxiv.org/abs/" "arxiv" -> "https://arxiv.org/abs/"
"jstor" -> "http://www.jstor.org/stable/" "jstor" -> "https://www.jstor.org/stable/"
"pubmed" -> "http://www.ncbi.nlm.nih.gov/pubmed/" "pubmed" -> "https://www.ncbi.nlm.nih.gov/pubmed/"
"googlebooks" -> "http://books.google.com?id=" "googlebooks" -> "https://books.google.com?id="
_ -> "" _ -> ""
if T.null baseUrl if T.null baseUrl
then mzero then mzero

View file

@ -11,7 +11,7 @@
Portability : portable Portability : portable
Conversion from Textile to 'Pandoc' document, based on the spec Conversion from Textile to 'Pandoc' document, based on the spec
available at http://redcloth.org/textile. available at https://www.promptworks.com/textile/.
Implemented and parsed: Implemented and parsed:
- Paragraphs - Paragraphs

View file

@ -14,7 +14,7 @@
Conversion of 'Pandoc' documents to markdown-formatted plain text. Conversion of 'Pandoc' documents to markdown-formatted plain text.
Markdown: <http://daringfireball.net/projects/markdown/> Markdown: <https://daringfireball.net/projects/markdown/>
-} -}
module Text.Pandoc.Writers.Markdown ( module Text.Pandoc.Writers.Markdown (
writeMarkdown, writeMarkdown,

View file

@ -270,7 +270,7 @@ FTP.DOMAIN.COM
[img.png] [img.png]
%%% Syntax: Image pointing to a link: [[img] link] %%% Syntax: Image pointing to a link: [[img] link]
[[img.png] http://txt2tags.org] [[img.png] https://txt2tags.org]
%%% Align: Image position is preserved when inside paragraph %%% Align: Image position is preserved when inside paragraph
[img.png] Image at the line beginning. [img.png] Image at the line beginning.

View file

@ -14,7 +14,7 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script> <script>
"use strict"; "use strict";
(function($) { // http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values (function($) { // https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values
$.QueryString = (function(a) { $.QueryString = (function(a) {
if (a == "") return {}; if (a == "") return {};
var b = {}; var b = {};

View file

@ -6,5 +6,5 @@ all: $(SIGNED)
.PHONY: all .PHONY: all
pandoc-%.msi: pandoc-%-UNSIGNED.msi pandoc-%.msi: pandoc-%-UNSIGNED.msi
osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass && rm $< osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i https://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass && rm $<

View file

@ -123,8 +123,8 @@
<!-- Set properties for add/remove programs --> <!-- Set properties for add/remove programs -->
<Property Id="ARPURLINFOABOUT" Value="http://pandoc.org" /> <Property Id="ARPURLINFOABOUT" Value="https://pandoc.org" />
<Property Id="ARPHELPLINK" Value="http://pandoc.org" /> <Property Id="ARPHELPLINK" Value="https://pandoc.org" />
<Property Id="ARPNOREPAIR" Value="yes" Secure="yes" /> <!-- Remove repair --> <Property Id="ARPNOREPAIR" Value="yes" Secure="yes" /> <!-- Remove repair -->
<Property Id="ARPNOMODIFY" Value="yes" Secure="yes" /> <!-- Remove modify --> <Property Id="ARPNOMODIFY" Value="yes" Secure="yes" /> <!-- Remove modify -->