logo separator

[mkgmap-dev] Documentation build processes - Question for Steve Ratcliffe

From Steve Ratcliffe steve at parabola.me.uk on Wed Jun 24 12:56:33 BST 2020

Hi Ticker

 > What software does the mkgmap server use to display html from the
 > mediaWiki .txt files? For testing changes to options.txt etc it would
 > handy to to run the same thing.

It uses the same library, you just need to specify the html
output-type option.

	mwconv -t html typ-compiler.txt

[html is the default so there is no need for the -t]

If you want to check the exact same look as the website, then you can
include the css file from the website by replacing the html header of
the result down to the first <h2> with:

	<!DOCTYPE html>
	<html>
	<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" type="text/css" 
href="http://www.mkgmap.org.uk/static/css/bundle.css">
	</head>
	<body>
	<div id="page">
	<div id="maincontent">
	<div id="main-inner">
	<div id="wiki-page">

The text should now be identical at all browser widths

Steve


More information about the mkgmap-dev mailing list