-
-
Save totten/9d32b1045706cf00dbdc7efec9403d99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## In the Apache vhost | |
<VirtualHost *:80> | |
RewriteEngine on | |
RewriteMap crmdoc2mkdoc "/Users/totten/buildkit/build/dmaster/tmp/rewrite-map.txt" | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
## Depend on vhost config: RewriteMap crmdoc2mkdoc "rewrite-map.txt" | |
RewriteCond ${crmdoc2mkdoc:$1} >"" | |
RewriteRule "^tmp/confluence/display/CRMDOC/(.*)" "https://docs.civicrm.org/dev/en/master/${crmdoc2mkdoc:$1}" [R,L,NE] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### This files comes from https://github.com/civicrm/civicrm-dev-docs/ | |
### Each row maps from a CRMDOC-path to a mkdocs-path. | |
Resource+Reference extend | |
Region+Reference api/params/#optionsmatch | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment