{"action":"created","issue":{"url":"https://api.github.com/repos/doczjs/docz/issues/1042","repository_url":"https://api.github.com/repos/doczjs/docz","labels_url":"https://api.github.com/repos/doczjs/docz/issues/1042/labels{/name}","comments_url":"https://api.github.com/repos/doczjs/docz/issues/1042/comments","events_url":"https://api.github.com/repos/doczjs/docz/issues/1042/events","html_url":"https://github.com/doczjs/docz/issues/1042","id":487070181,"node_id":"MDU6SXNzdWU0ODcwNzAxODE=","number":1042,"title":"\"base\" property does not work as expected","user":{"login":"godmar","id":486389,"node_id":"MDQ6VXNlcjQ4NjM4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/486389?v=4","gravatar_id":"","url":"https://api.github.com/users/godmar","html_url":"https://github.com/godmar","followers_url":"https://api.github.com/users/godmar/followers","following_url":"https://api.github.com/users/godmar/following{/other_user}","gists_url":"https://api.github.com/users/godmar/gists{/gist_id}","starred_url":"https://api.github.com/users/godmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godmar/subscriptions","organizations_url":"https://api.github.com/users/godmar/orgs","repos_url":"https://api.github.com/users/godmar/repos","events_url":"https://api.github.com/users/godmar/events{/privacy}","received_events_url":"https://api.github.com/users/godmar/received_events","type":"User","site_admin":false},"labels":[{"id":870090574,"node_id":"MDU6TGFiZWw4NzAwOTA1NzQ=","url":"https://api.github.com/repos/doczjs/docz/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1521137440,"node_id":"MDU6TGFiZWwxNTIxMTM3NDQw","url":"https://api.github.com/repos/doczjs/docz/labels/pending-user-response","name":"pending-user-response","color":"006b75","default":false},{"id":1474382532,"node_id":"MDU6TGFiZWwxNDc0MzgyNTMy","url":"https://api.github.com/repos/doczjs/docz/labels/v2","name":"v2","color":"2b4ea0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-08-29T16:50:07Z","updated_at":"2019-09-13T12:02:17Z","closed_at":null,"author_association":"NONE","body":"\r\nWhen specifying a `base: /mybase/` in `doczrc.js`, and then running `yarn run docz build`, the created `.docz/dist` folder looks like this:\r\n```$ ls .docz/dist/\r\n404                                                                   component---docs-resources-papers-md-fe63ff69f05fbc4ade87.js.map\r\n404.html                                                              component---docs-resources-urls-md-18ff15bc97f33d5c99ec.js\r\napp-166636596e5034530b76.js                                           component---docs-resources-urls-md-18ff15bc97f33d5c99ec.js.map\r\napp-166636596e5034530b76.js.map                                       component---src-pages-404-js-d2f6e42ec0b240a466f0.js\r\nchunk-map.json                                                        component---src-pages-404-js-d2f6e42ec0b240a466f0.js.map\r\ncommons-7abd6c6896e587d23041.js                                       mybase\r\ncommons-7abd6c6896e587d23041.js.map                                   page-data\r\ncomponent---docs-index-mdx-eb57cbfd78a8e941cf11.js                    static\r\ncomponent---docs-index-mdx-eb57cbfd78a8e941cf11.js.map                styles.2543ff947a193d7f33b1.css\r\ncomponent---docs-lecture-1-lecture-1-mdx-e41e47345bd392371e15.js      styles-488c87c5398088946843.js\r\ncomponent---docs-lecture-1-lecture-1-mdx-e41e47345bd392371e15.js.map  styles-488c87c5398088946843.js.map\r\ncomponent---docs-lecture-2-lecture-2-mdx-0c06a42ea379446ff851.js      webpack-runtime-3b441f85f0b567d235ec.js\r\ncomponent---docs-lecture-2-lecture-2-mdx-0c06a42ea379446ff851.js.map  webpack-runtime-3b441f85f0b567d235ec.js.map\r\ncomponent---docs-resources-papers-md-fe63ff69f05fbc4ade87.js          webpack.stats.json\r\n```\r\n\r\nThe file `.docz/dist/mybase/index.html` contains references such as: \r\n```\r\n<link as=\"script\" rel=\"preload\" href=\"/component---docs-index-mdx-eb57cbfd78a8e941cf11.js\"/>\r\n```\r\nthat do not contain `mybase`.\r\nThere is no `index.html` file.\r\n\r\nI was expecting to copy (or link) the .docz/dist folder to the server root directory of my Apache server and then be able to access it at `https://host/mybase`.  This does not work with these generated files.\r\n\r\nI would appreciate guidance whether what I am trying to do is possible with docz: build and then copy to a subfolder hanging off the server's root, with all necessary files contained in that subfolder.  "},"comment":{"url":"https://api.github.com/repos/doczjs/docz/issues/comments/531210110","html_url":"https://github.com/doczjs/docz/issues/1042#issuecomment-531210110","issue_url":"https://api.github.com/repos/doczjs/docz/issues/1042","id":531210110,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMTIxMDExMA==","user":{"login":"rakannimer","id":1270909,"node_id":"MDQ6VXNlcjEyNzA5MDk=","avatar_url":"https://avatars1.githubusercontent.com/u/1270909?v=4","gravatar_id":"","url":"https://api.github.com/users/rakannimer","html_url":"https://github.com/rakannimer","followers_url":"https://api.github.com/users/rakannimer/followers","following_url":"https://api.github.com/users/rakannimer/following{/other_user}","gists_url":"https://api.github.com/users/rakannimer/gists{/gist_id}","starred_url":"https://api.github.com/users/rakannimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakannimer/subscriptions","organizations_url":"https://api.github.com/users/rakannimer/orgs","repos_url":"https://api.github.com/users/rakannimer/repos","events_url":"https://api.github.com/users/rakannimer/events{/privacy}","received_events_url":"https://api.github.com/users/rakannimer/received_events","type":"User","site_admin":false},"created_at":"2019-09-13T12:02:17Z","updated_at":"2019-09-13T12:02:17Z","author_association":"MEMBER","body":"Hey @ronaklalwaniii \r\n\r\n2.0.0-rc.40 is already released. \r\n\r\nYou can do ` yarn add docz@next ` to update."}}
{"actor":{"display_login":"rakannimer"}}