Bug 1631 – Bundled documentation requires connection to digitalmars.com

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2007-11-01T19:46:00Z
Last change time
2015-03-29T14:45:48Z
Assigned to
nobody
Creator
wbaxter

Comments

Comment #0 by wbaxter — 2007-11-01T19:46:35Z
The copy of the documentation files that come with an install of DMD include links to digitalmars.com. Namely the url for the css file points to digitalmars.com rather than a local file. This makes pages look very ugly (and take a long time) when not connected to the internet, or when digitalmars.com is down (as it is now).
Comment #1 by yao.gomez — 2012-02-04T22:56:17Z
The documentation bundled with DMD now includes relative paths (using local files) to the media (images and CSS files), I just opened the DMD.2.057.zip file and verified it. However there are two new issues with this documents: 1. The html files use the old, digitalmars.com design, not the newer one from dlang.org. I don't know if this is because the CSS file hasn't been modified or what. 2. At the bottom of each page there's a Google AdSense banner, an this STILL points to the google.com page to retrieve a js file. While this will not preclude you of using the docs offline, it's an annoyance, because you need to put your browser in 'offline mode'. So, I don't know if this bug report should be closed, or renamed to describe the aforementioned issues.
Comment #2 by eugenet777 — 2013-04-12T14:00:48Z
Hi Yao, Even if the paths in the documentation were relative in 2.057, I can't confirm it for the most recent 2.062. It suffices to open `dmd2/html/d/index.html' and see some examples of absolute paths, including jquery which is referenced from an external source: <link rel="stylesheet" href="/css/codemirror.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascripâ–¸ <script src="/js/codemirror.js"></script> <script src="/js/run-main-website.js" type="text/javascript"></script> <script src="/js/d.js"></script> <script src="/js/run.js" type="text/javascript"></script> One more issue related to the web site centric nature of the current documentation: the missing link to `Library Reference': <li><a href="phobos/index.html">Library Reference</a></li> As for two new issues mentioned by you: about the old design used in the docs, and Google AdSense, I can't confirm either. 1. The design looks identical to the web site. 2. There is no Google AdSense in the pages, there is Google Translate, though.
Comment #3 by eugenet777 — 2013-04-30T21:15:23Z
Sorry, Yao, speaking of Google Ads, you're right. They are still there.
Comment #4 by code — 2015-03-29T14:45:48Z
Should be fixed by now, also see issue 14329.