1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Documentation: remove usage of CSS collapsible to avoid breaking CHM generation. Add new entries to CHM. Remove example script file since its content is described inline in the documentation

We need to generate CHM from the same HTML files as the documentation and so we are limited by CHM compatibility
This commit is contained in:
Mounir IDRASSI
2022-12-11 18:40:33 +01:00
parent e04bf339f7
commit 4056f58add
11 changed files with 288 additions and 520 deletions

View File

@@ -16,38 +16,11 @@
}
.texttohide {
display:none;
font-family: Helvetica,sans-serif;
font-size: 14px;
font-weight: normal;
}
.show {
display: none;
text-decoration: none;
}
.hide:target + .show {
display: inline;
text-decoration: none;
}
.hide:target {
display: none;
text-decoration: none;
}
.hide:target ~ .texttohide {
display:inline;
text-decoration: none;
}
@media print {
.hide, .show {
display: none;
}
}
</style>
@@ -80,12 +53,16 @@
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="CompilingGuidelineLinux.html">Compiling Gudineline for Linux</a>
<a href="Technical%20Details.html">Technical Details</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="CompilingGuidelines.html">Building VeraCrypt From Source</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="CompilingGuidelineLinux.html">Linux Build Guide</a>
</p></div>
<div class="wikidoc">
This guide describes how to set up a Linux System that can compile the VeraCrypt. Further it is described how VeraCrypt is going to be compiled. <br>
The procedure for a Ubuntu 22.04 LTS system is described here as an example, but the procedure for other Linux systems is analogous.
This guide describes how to set up a Linux System to build VeraCrypt from source and how to perform compilation. <br>
The procedure for a Ubuntu 22.04 LTS system is described here as an example, the procedure for other Linux systems is analogous.
</div>
<div class="wikidoc">
@@ -94,7 +71,7 @@ The procedure for a Ubuntu 22.04 LTS system is described here as an example, but
The following components are required for compiling VeraCrypt:
<ol>
<li>GNU Make</li>
<li>GNU C++ Compiler 4.0</li>
<li>GNU C/C++ Compiler</li>
<li>YASM 1.3.0</li>
<li>pkg-config</li>
<li>wxWidgets 3.2 shared library and header files installed or wxWidgets 3.0 library source code </li>
@@ -103,8 +80,18 @@ The following components are required for compiling VeraCrypt:
</div>
<div class="wikidoc">
If you do not want to perform the single steps below, you can run these commands to build an environment and to compile VeraCrpyt: <br>
Download as script: <a href="LinuxPrepAndBuild.sh" target="_blank">Script</a> <br>
<p>Below are the detailed procedure steps:</p>
<ul>
<li><a href="#InstallationOfGNUMake">Installation of GNU Make</a></li>
<li><a href="#InstallationOfGNUCompiler">Installation of GNU C/C++ Compiler</a></li>
<li><a href="#InstallationOfYASM">Installation of YASM</a></li>
<li><a href="#InstallationOfPKGConfig">Installation of pkg-config</a></li>
<li><a href="#InstallationOfwxWidgets">Installation of wxWidgets 3.2</a></li>
<li><a href="#InstallationOfFuse">Installation of libfuse</a></li>
<li><a href="#DownloadVeraCrypt">Download VeraCrypt</a></li>
<li><a href="#CompileVeraCrypt">Compile VeraCrypt</a></li>
</ul>
<p>They can also be performed by running the below list of commands in a terminal or by copying them to a script:</p>
<code>
sudo apt update <br>
sudo apt install -y build-essential yasm pkg-config libgtk-3-dev <br>
@@ -125,12 +112,12 @@ git clone https://github.com/veracrypt/VeraCrypt.git
cd ~/VeraCrypt/src <br>
make
</code>
<p>
</div>
<div class="wikidoc">
<div class="textbox" id="InstallationOfGNUMake">
<a href="#hide1" class="hide" id="hide1">Installation of GNU Make</a>
<a href="#show1" class="show" id="show1">Installation of GNU Make</a>
<a href="#InstallationOfGNUMake">Installation of GNU Make</a>
<div class="texttohide">
<p>
<ol>
@@ -150,8 +137,7 @@ make
</div>
<div class="textbox" id="InstallationOfGNUCompiler">
<a href="#hide2" class="hide" id="hide2">Installation of GNU C++ Compiler 4.0</a>
<a href="#show2" class="show" id="show2">Installation of GNU C++ Compiler 4.0</a>
<a href="#InstallationOfGNUCompiler">Installation of GNU C/C++ Compiler</a>
<div class="texttohide">
<p> If the build-essential were already installed in the step before, this step can be skipped.
<ol>
@@ -171,8 +157,7 @@ make
</div>
<div class="textbox" id="InstallationOfYASM">
<a href="#hide3" class="hide" id="hide3">Installation of YASM</a>
<a href="#show3" class="show" id="show3">Installation of YASM</a>
<a href="#InstallationOfYASM">Installation of YASM</a>
<div class="texttohide">
<p>
<ol>
@@ -192,8 +177,7 @@ make
</div>
<div class="textbox" id="InstallationOfPKGConfig">
<a href="#hide4" class="hide" id="hide4">Installation of pkg-config</a>
<a href="#show4" class="show" id="show4">Installation of pkg-config</a>
<a href="#InstallationOfPKGConfig">Installation of pkg-config</a>
<div class="texttohide">
<p>
<ol>
@@ -213,8 +197,7 @@ make
</div>
<div class="textbox" id="InstallationOfwxWidgets">
<a href="#hide5" class="hide" id="hide5">Installation of wxWidgets 3.2</a>
<a href="#show5" class="show" id="show5">Installation of wxWidgets 3.2</a>
<a href="#InstallationOfwxWidgets">Installation of wxWidgets 3.2</a>
<div class="texttohide">
<p>
<ol>
@@ -244,8 +227,7 @@ make
</div>
<div class="textbox" id="InstallationOfFuse">
<a href="#hide6" class="hide" id="hide6">Installation of libfuse</a>
<a href="#show6" class="show" id="show6">Installation of libfuse</a>
<a href="#InstallationOfFuse">Installation of libfuse</a>
<div class="texttohide">
<p>
<ol>
@@ -265,8 +247,7 @@ make
</div>
<div class="textbox" id="DownloadVeraCrypt">
<a href="#hide7" class="hide" id="hide7">Download VeraCrypt</a>
<a href="#show7" class="show" id="show7">Download VeraCrypt</a>
<a href="#DownloadVeraCrypt">Download VeraCrypt</a>
<div class="texttohide">
<p>
<ol>
@@ -287,8 +268,7 @@ make
</div>
<div class="textbox" id="CompileVeraCrypt">
<a href="#hide8" class="hide" id="hide8">Compile VeraCrypt</a>
<a href="#show8" class="show" id="show8">Compile VeraCrypt</a>
<a href="#CompileVeraCrypt">Compile VeraCrypt</a>
<div class="texttohide">
<p> Remarks: <br>
<ul>