Skip to content

Conversation

@MartinNowak
Copy link
Member

  • caused chmgen to fail
  • no nice idea how to get the real root from arbitrary
    path/to/nonexistent

- caused chmgen to fail
- no nice idea how to get the real root from arbitrary
  path/to/nonexistent
@MartinNowak
Copy link
Member Author

The d.tag target fails at Processing 404.html with

enforce(url.length, "Empty URL");
.

@MartinNowak
Copy link
Member Author

We could use JS and try to go .. step by step, until finding some specific file that's only present on root.

@CyberShadow
Copy link
Member

Weird, chmgen works fine here

@MartinNowak
Copy link
Member Author

rdmd chmgen --root=web --only-tags

@MartinNowak
Copy link
Member Author

How does your 404.html look like?

@MartinNowak
Copy link
Member Author

Processing 404.html
Error while processing file: web/404.html
object.Exception@chmgen.d(477): Empty URL
----------------
??:? pure @safe void std.exception.bailOut!(Exception).bailOut(immutable(char)[], ulong, const(char[])) [0x54633a]
??:? pure @safe ulong std.exception.enforce!(Exception, ulong).enforce(ulong, lazy const(char)[], immutable(char)[], ulong) [0x5462b5]
??:? immutable(char)[] chmgen.absoluteUrl(immutable(char)[], immutable(char)[]) [0x5451c2]
??:? _Dmain [0x543418]
??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x590eeb]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x590e13]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() [0x590e90]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x590e13]
??:? _d_run_main [0x590d7f]
??:? main [0x58c49d]
??:? __libc_start_main [0xf6ee7400]

@MartinNowak
Copy link
Member Author

Anyhow the link is broken atm. so fixing makes sense, on http://dlang.org/path/nonexistent, the logo points to the nonexistent page itself.

@CyberShadow
Copy link
Member

so fixing makes sense, on http://dlang.org/path/nonexistent, the logo points to the nonexistent page itself.

Agreed

How does your 404.html look like?

errorpage.ddoc is not used in win32.mak, so it has the problem fixed by #1603.

rdmd chmgen --root=web --only-tags

Oh I see, I thought the problem was with building the CHM so I ran it on WIndows.

@MartinNowak
Copy link
Member Author

Oh I see, I thought the problem was with building the CHM so I ran it on WIndows.

Ah sorry, should've been more specific.

@CyberShadow CyberShadow merged commit 98c865d into dlang:stable Mar 29, 2017
@CyberShadow
Copy link
Member

(was waiting on CI mostly)

@MartinNowak MartinNowak deleted the fix_doc_build branch March 29, 2017 21:51
@MartinNowak
Copy link
Member Author

Thx, hope that was the last issue, release script changes upcoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants