website: update doc URLs

s/docs/doc/ and s/http/https/ for camlistore.org doc URLs in website and
code.

Change-Id: I875e2acece1f594a304f2bdb63f756fcb315abc8
This commit is contained in:
Will Norris 2016-04-27 08:48:50 -07:00
parent 95a55498e6
commit 7ec2b0ac2e
10 changed files with 17 additions and 17 deletions

View File

@ -5,11 +5,11 @@ Developing on Windows is sometimes broken, but should work. Let us
know if we broke something, or we accidentally depend on some
Unix-specific build tool somewhere.
See http://camlistore.org/docs/contributing for information on how to
See https://camlistore.org/doc/contributing for information on how to
contribute to the project and submit patches. Notably, we use Gerrit
for code review. Our Gerrit instance is at https://camlistore.org/r/
See architecture docs: https://camlistore.org/docs/
See architecture docs: https://camlistore.org/doc/
You can view docs for Camlistore packages with local godoc, or
godoc.org.
@ -22,7 +22,7 @@ $ git clone https://camlistore.googlesource.com/camlistore
(We use github for distribution but its code review system is so poor,
we don't use its Pull Request mechanism. The Gerrit git server & code
review system is the main repo. See
http://camlistore.org/docs/contributing for how to use them. We might
https://camlistore.org/doc/contributing for how to use them. We might
support github for pull requests in the future, once it's properly
integrated with external code review tools. We had a meeting with Github
to discuss the ways in which their code review tools are poor.)

6
README
View File

@ -5,8 +5,8 @@ It's a way to store, sync, share, model and back up content.
It stands for "Content-Addressable Multi-Layer Indexed Storage", for
lack of a better name. For more, see:
http://camlistore.org/
http://camlistore.org/docs/
https://camlistore.org/
https://camlistore.org/doc/
Other useful files:
@ -20,4 +20,4 @@ Mailing lists:
Bugs and contributing:
https://github.com/camlistore/camlistore/issues
http://camlistore.org/docs/contributing
https://camlistore.org/doc/contributing

View File

@ -13,8 +13,8 @@
lack of a better name. For more, see:</p>
<ul>
<li><a href="http://camlistore.org/">http://camlistore.org/</a></li>
<li><a href="http://camlistore.org/docs/">http://camlistore.org/docs/</a></li>
<li><a href="https://camlistore.org/">https://camlistore.org/</a></li>
<li><a href="https://camlistore.org/doc/">https://camlistore.org/doc/</a></li>
</ul>
<br/>

View File

@ -709,7 +709,7 @@ func withSQLite() bool {
case "linux":
log.Printf("On Linux, run 'sudo apt-get install libsqlite3-dev' or equivalent.")
case "windows":
log.Printf("SQLite is not easy on windows. Please see http://camlistore.org/docs/server-config#windows")
log.Printf("SQLite is not easy on windows. Please see https://camlistore.org/doc/server-config#windows")
}
os.Exit(2)
}

View File

@ -207,7 +207,7 @@ func printConfigChangeHelp(conf jsonconfig.Obj) {
}
}
if oldConfig {
configChangedMsg += "Please see http://camlistore.org/docs/client-config, or use camput init to recreate a default one."
configChangedMsg += "Please see https://camlistore.org/doc/client-config, or use camput init to recreate a default one."
log.Print(configChangedMsg)
}
}

View File

@ -50,13 +50,13 @@ const helpHTML string = `<html>
</ul>
</p>
<p>You will need to use the following <a href='https://camlistore.org/docs/client-config'>client configuration</a> in order to access this server using the command line tools.</p>
<p>You will need to use the following <a href='https://camlistore.org/doc/client-config'>client configuration</a> in order to access this server using the command line tools.</p>
<pre>{{ .ClientConfigJSON }}</pre>
{{ .SecringDownloadHint }}
<h3>Anything Else?</h3>
<p>See the Camlistore <a href='https://camlistore.org/docs/'>online documentation</a> and <a href='https://camlistore.org/community/'>community contacts</a>.</p>
<p>See the Camlistore <a href='https://camlistore.org/doc/'>online documentation</a> and <a href='https://camlistore.org/community/'>community contacts</a>.</p>
</body>
</html>`
@ -168,7 +168,7 @@ func (hh *HelpHandler) serveHelpHTML(cc *clientconfig.Config, rw http.ResponseWr
if strings.HasPrefix(hh.serverSecRing, "/gcs/") {
bucketdir := strings.TrimPrefix(hh.serverSecRing, "/gcs/")
bucketdir = strings.TrimSuffix(bucketdir, "/identity-secring.gpg")
hint = template.HTML(fmt.Sprintf("<p>Download your GnuPG secret ring from <a href=\"https://console.developers.google.com/storage/browser/%s/\">https://console.developers.google.com/storage/browser/%s/</a> and place it in your <a href='https://camlistore.org/docs/client-config'>Camlistore client config directory</a>. Keep it private. It's not encrypted or password-protected and anybody in possession of it can create Camlistore claims as your identity.</p>\n",
hint = template.HTML(fmt.Sprintf("<p>Download your GnuPG secret ring from <a href=\"https://console.developers.google.com/storage/browser/%s/\">https://console.developers.google.com/storage/browser/%s/</a> and place it in your <a href='https://camlistore.org/doc/client-config'>Camlistore client config directory</a>. Keep it private. It's not encrypted or password-protected and anybody in possession of it can create Camlistore claims as your identity.</p>\n",
bucketdir, bucketdir))
}

View File

@ -29,7 +29,7 @@ const topWizard = `
<body>
<p>[<a href="/">Back</a>]</p>
<h1>Setup Wizard</h1>
<p> See <a href="http://camlistore.org/docs/server-config">Server Configuration</a> for information on configuring the values below.</p>
<p> See <a href="https://camlistore.org/doc/server-config">Server Configuration</a> for information on configuring the values below.</p>
<form id="WizardForm" action="" method="post" enctype="multipart/form-data">
`

View File

@ -264,7 +264,7 @@ func (sh *SetupHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
"</body></html>\n")
return
}
http.Redirect(rw, req, "http://camlistore.org/docs/server-config", http.StatusMovedPermanently)
http.Redirect(rw, req, "https://camlistore.org/doc/server-config", http.StatusMovedPermanently)
return
// TODO: this file and the code in wizard-html.go is outdated. Anyone interested enough

View File

@ -29,7 +29,7 @@ var camErrors = map[string]*camErr{}
var (
ErrClientNoServer = addCamError("client-no-server", funcStr(func() string {
return fmt.Sprintf("No valid server defined. It can be set with the CAMLI_SERVER environment variable, or the --server flag, or in the \"servers\" section of %q (see https://camlistore.org/docs/client-config).", osutil.UserClientConfigPath())
return fmt.Sprintf("No valid server defined. It can be set with the CAMLI_SERVER environment variable, or the --server flag, or in the \"servers\" section of %q (see https://camlistore.org/doc/client-config).", osutil.UserClientConfigPath())
}))
ErrClientNoPublicKey = addCamError("client-no-public-key", str("No public key configured: see 'camput init'."))
)

View File

@ -768,7 +768,7 @@ func main() {
mux.HandleFunc("/dl/", releaseRedirect)
mux.HandleFunc("/debug/ip", ipHandler)
mux.HandleFunc("/debug/uptime", uptimeHandler)
mux.Handle("/docs/contributing", redirTo("/code#contributing"))
mux.Handle("/doc/contributing", redirTo("/code#contributing"))
mux.Handle("/lists", redirTo("/community"))
mux.HandleFunc("/contributors", contribHandler())