# The default page (index.html) displayed by the PlDoc generator is not the one you want

**URL:** <https://swi-prolog.discourse.group/t/the-default-page-index-html-displayed-by-the-pldoc-generator-is-not-the-one-you-want/2687>\
**Category:** Nice to know\
**Tags:** pldoc\
**Created:** [July 24, 2020, 4:05pm UTC](https://swi-prolog.discourse.group/t/the-default-page-index-html-displayed-by-the-pldoc-generator-is-not-the-one-you-want/2687 "2020-07-24T16:05:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [July 24, 2020, 4:05pm UTC](https://swi-prolog.discourse.group/t/the-default-page-index-html-displayed-by-the-pldoc-generator-is-not-the-one-you-want/2687/1 "2020-07-24T16:05:24Z")

</div>

PlDoc pages can be created using

```prolog
swipl --pldoc <file name>.pl

```

The page is then made available on an Internet browser.

However the default page displayed is `index.html` when the page you are probably wanting to see is the HTML documentation for `<file name>.pl`.

To get from `index.html` to the HTML documentation for `<file name>.pl` click on the file name link in `index.html`, e.g.

![image](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/2X/b/b91a581e48b6f13d9b492194b666ba780cef5a9a.png)
