Skip to content

Live rendering of docs #1092

@mschwemer

Description

@mschwemer

Thanks for merging #1055 and provide a live render of docs. @garvinhicking pointed me here from

I build the docker image and was able to run the live reloading.

Live reloading works with http://localhost: <CustomPort>.
Display of the documentation works with http://my-project.ddev.site: <CustomPort>, but not the live reload.

The exception in the JS console is

Websocket connection to ws://<my-project>.ddev.site:16108/ws failed 
anonymous @ (index) :364

My docker-compose for ddev:

services:
  t3docs:
    container_name: "ddev-${DDEV_SITENAME}-t3docs"
    image: typo3-docs:local
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.approot: ${DDEV_APPROOT}
    restart: "no"
    command: --config=Documentation --watch
    ports:
      - "16108:1337"
    volumes:
        - "${DDEV_APPROOT}/.:/project"
        - ".:/mnt/ddev_config"

Besides that little glitch: Awesome 👍 Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions