====== Dokuwikiインストール2018年版 ======
===== インストール =====
https://dokuwiki.oreda.net/install.htmlの通りにやる。
  -https://www.dokuwiki.org/start?id=ja:dokuwikiからgzipファイルをダウンロード(Upgrade PluginとWrapは入れておく)
  -解凍
  -WinSCPなどでdokuwikiフォルダ内のファイルをそのままアップロード
  -インストールフォルダ直下のinstall.phpを開いて、インストールの設定
===== インストール直後の設定 =====
https://dokuwiki.oreda.net/config_basic.html
https://dokuwiki.oreda.net/config_public.html\\
高度な設定(URLの書き換え)は行わない
https://dokuwiki.oreda.net/plugin/must-plugin.html\\
EditTable Plugin
ImgPaste Plugin
Indexmenu
WRAP
https://dokuwiki.oreda.net/plugin/indexmenu.html
===== CSSの設定 =====
https://dokuwiki.oreda.net/template/dokuwiki.html
lib/tpl/dokuwiki/style.ini
自分専用のスタイルリストを設定する。
css/my_style.css = screen
を追記する。
lib/tpl/dokuwiki/css/my_style.css
body {    min-width: 1150px; } を入れないように注意。
/**
 * css/basic.less
 **/
  
h1 {
    color: #666;
    font-size: 1.8em;
    margin: 0 0 0.444em;
}
h2 {
    color: white;
    font-size: 1.6em;
    margin: 0 0 0.5em;
    font-weight: normal;
    background-color: #557697;
    padding: 6px 0px 5px 6px;
}
h3 {
    color: #666;
    font-size: 1.4em;
    margin: 0 0 0.888em;
    font-weight: normal;
    padding: 5px 0px 5px 6px;
    background-color: #f2f2f2;
    border-left: solid 10px #557697;
    border-top: none;
    border-bottom: none;
    border-right: none;
}
h4 {
    color: #666;
    font-size: 1.4em;
    margin: 0 0 1.0em;
    padding: 3px 3px 3px 5px;
    font-weight: normal;
    border-left: none;
    border-top: 3px solid #557697;
    border-bottom: 3px solid #557697;
}
h5 {
    font-size: 1.3em;
    margin: 0 0 1.1428em;
    padding: 3px 3px 3px 5px;
    /*border-bottom: 3px solid #557697;*/
    border-bottom: none;
    border-left: 8px solid #557697;
    font-weight: normal;
}
h6 {
    font-size: .75em;
    margin: 0 0 1.333em;
    border-bottom: dotted 1px #cacaca;
    font-weight: normal;
}
 
/**
 * css/_links.less
 **/
 
/* any link to current page */
.dokuwiki span.curid a {
    /*font-weight: bold;*/
    font-weight: normal;
}
 
/**
 * css/design.less
 **/
 
#dokuwiki__header {
    padding: 2em 0 1.5em;
 
    .headings,
    .tools {
        margin-bottom: 0em;
        width: 49%;
    }
}
 
/* Fonts */
body {
    font: normal 87.5%/1.6 Arial, Meiryo, Chicago, sans-serif;
}
 
/*Plugin Indexmenu*/
.dtree {
    font-family: Arial, Meiryo, Chicago, sans-serif;
    font-size: 11px;
}
この設定を行ったのち、一度、管理画面の「サイト設定」にログインして、一番下の保存ボタンをクリックすることにより、CSSファイルの変更が反映されるようになる。
===== リンクの書き方など =====
https://www.dokuwiki.org/ja:syntax
[[http://www.google.com|googleへのリンク]]
ページ内アンカーについて
[[https://www.limemo.net/blog/2014/01/dokuwiki%E3%81%A7%E3%83%9A%E3%83%BC%E3%82%B8%E5%86%85%E3%81%AE%E7%AB%A0%E3%81%A8%E3%81%8B%E8%A6%8B%E5%87%BA%E3%81%97%E3%81%B8%E3%81%AE%E3%83%AA%E3%83%B3%E3%82%AF%E3%82%92%E3%81%A4%E3%81%8F%E3%82%8B.html|dokuwikiでページ内の章とか見出しへのリンクをつくる]]
WRAPの使い方などについては、[[dokuwikimemo.html|Dokuwikiメモ2017年版]]へ。