Gitlab reStructuredText code-block error
Created by: 4jux
Gitlab don't display *.rst fail code blocks. In raw *.rst file:
Try this example html:
.. code-block:: html
<input type="text" />
Try this example javascript:
.. code-block:: js
do_something()
And in preview i see only:
Try this example html:
Try this example javascript:
Gitlab version: GitLab 6.9.2 e46b644a
Checking Environment ...
Git configured for git user? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.9.4 ? ... OK (1.9.4)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... no
Try fixing it:
sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
update hook up-to-date? ... yes
update hooks in repos are links: ...
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories: OK
/home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.4.10
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP users with access to your GitLab server (only showing the first 100 results)
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned UsersGroups? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.11)
Checking GitLab ... Finished
Python-docutils installed.
[git@local]$ rpm -qa | grep python-docutils
python-docutils-0.6-1.el6.noarch
Any idea why it wont work under rst files, but everything work on md file?