mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-25 05:36:18 +00:00
Fix CMake syntax highlighting in the C++ tutorial
Use a version of highlight.js from our website that has CMake support built-in, the one that comes with mdbook doesn't.
This commit is contained in:
parent
59ebc94e71
commit
cc8da495ae
6 changed files with 20 additions and 61 deletions
13
docs/tutorial/theme/highlight.js
Normal file
13
docs/tutorial/theme/highlight.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* LICENSE BEGIN
|
||||
This file is part of the SixtyFPS Project -- https://sixtyfps.io
|
||||
Copyright (c) 2020 Olivier Goffart <olivier.goffart@sixtyfps.io>
|
||||
Copyright (c) 2020 Simon Hausmann <simon.hausmann@sixtyfps.io>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
This file is also available under commercial licensing terms.
|
||||
Please contact info@sixtyfps.io for more information.
|
||||
LICENSE END */
|
||||
|
||||
// This file is empty to override and disable mdbook's built-in highlight.js
|
||||
// version, which does not include CMake support. Instead the appropriate version
|
||||
// of highlight.js is included via head.hbs
|
||||
Loading…
Add table
Add a link
Reference in a new issue