Skip to content

Commit

Permalink
Update documentation location
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Dec 27, 2017
1 parent d1cedcf commit 19474e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Docker-based WordPress Stack

[![Documentation Status](https://readthedocs.org/projects/docker4wordpress/badge/?version=latest)](http://docs.docker4wordpress.org)
[![Build Status](https://travis-ci.org/wodby/docker4wordpress.svg?branch=master)](https://travis-ci.org/wodby/docker4wordpress)
[![Wodby Slack](http://slack.wodby.com/badge.svg)](http://slack.wodby.com)
[![Wodby Twitter](https://img.shields.io/twitter/follow/wodbyhq.svg?style=social&label=Follow)](https://twitter.com/wodbyhq)
Expand All @@ -9,7 +8,7 @@

Docker4WordPress is a set of docker images optimized for WordPress. Use docker-compose.yml file from this repository to spin up a local environment for WordPress on Linux, macOS and Windows.

Read [**Getting Started**](http://docker4wordpress.readthedocs.io).
Read [**Quick Start**](https://wodby.com/stacks/wordpress/docs/local/quick-start/).

## Stack

Expand Down Expand Up @@ -53,7 +52,7 @@ Supported WordPress versions: 4

## Documentation

Full documentation is available at http://docker4wordpress.readthedocs.io.
Full documentation is available at https://wodby.com/stacks/wordpress/docs/local

## Deployment

Expand Down
4 changes: 4 additions & 0 deletions docs/redirect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (String(window.location).indexOf("readthedocs") !== -1) {
window.alert('The documentation has moved. I will redirect you to the new location.');
window.location.replace('http://wodby.com/stacks/wordpress/docs/local');
}
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ markdown_extensions:
- toc:
permalink: True

extra_javascript: ["redirect.js"]

pages:
- Getting Started: 'index.md'
- Domains: 'domains.md'
Expand Down

0 comments on commit 19474e1

Please sign in to comment.