Comments (7)
The problem appears to be due to this issue. @oxr463 could you please also comment the contents of .codedoc/config.ts
here?
from codedoc.
@oxr463 perhaps setting the project namespace resolves the issue? to the best of my (limited) understanding, you should set it to the repo name:
import { configuration } from '@codedoc/core';
import { theme } from './theme';
export const config = /*#__PURE__*/configuration({
theme, // --> add the theme. modify `./theme.ts` for changing the theme.
dest: {
namespace: '<repo-name>',
},
page: {
favicon: '/favicon.png',
title: {
base: 'Foo' // --> the base title of your doc pages
}
}
});
from codedoc.
@oxr463 I am unable to open https://foo.gitlab.io
. Could you provide a live link? Or steps for reproduction (how did you deploy to GitLab pages)?
P.S. I am unaware of how Gitlab pages work so I am not sure if there are multiple ways of deploying, a single recommended method, etc., thats why I'm asking.
from codedoc.
Here is my GitLab CI/CD pipeline:
include:
- template: Dependency-Scanning.gitlab-ci.yml
image: node:latest
pages:
before_script:
- npm i -g @codedoc/cli
- npx codedoc install
script:
- npx codedoc build
- mkdir public
- cp -R docs public/
- cp favicon.png public/
- cp index.html public/
artifacts:
paths:
- public
only:
- master
from codedoc.
This is docs/assets
:
from codedoc.
The problem appears to be due to this issue. @oxr463 could you please also comment the contents of
.codedoc/config.ts
here?
import { configuration } from '@codedoc/core';
import { theme } from './theme';
export const config = /*#__PURE__*/configuration({
theme, // --> add the theme. modify `./theme.ts` for changing the theme.
page: {
favicon: '/favicon.png',
title: {
base: 'Foo' // --> the base title of your doc pages
}
},
});
from codedoc.
That fixed it:
dest: {
namespace: '/foo'
},
from codedoc.
Related Issues (20)
- New release with ansi_up fix HOT 4
- Hooking codedoc's router to run code on page change HOT 7
- Search shortcut (CMD+F / ctrl+F) displays the modal n times
- Help with plugin development and publishing on NPM HOT 7
- enhance the underline code block feature to support more languages HOT 2
- support info underlines in codeblocks
- update set-value to a non-vulnerable version
- Support RTL HOT 1
- decreasing the width-size of TOC HOT 2
- Ability to copy multiple lines from codeblocks HOT 7
- Running Codedoc as a container in Raspberry Pi
- GitHub Pages deployment failure after succeeding HOT 3
- Local build not working: TypeError: merge is not a function HOT 4
- Integrated Search missing HOT 2
- Update marked to 4.0.10 to avoid CVE-2022-21680 HOT 1
- Build not working: Non-string value passed to `ts.resolveTypeReferenceDirective` HOT 1
- Pre-build plugin HOT 1
- github action failure HOT 5
- Error on serve
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codedoc.