Signed-off-by: Nizamudeen A <nia@redhat.com>
);
});
- it('should return latest version URL for master', () => {
- expect(service.urlGenerator('orch', 'master')).toBe(
+ it('should return latest version URL for main', () => {
+ expect(service.urlGenerator('orch', 'main')).toBe(
'https://docs.ceph.com/en/latest/mgr/orchestrator'
);
});
});
}
- urlGenerator(section: string, release = 'master'): string {
- const docVersion = release === 'master' ? 'latest' : release;
+ urlGenerator(section: string, release = 'main'): string {
+ const docVersion = release === 'main' ? 'latest' : release;
const domain = `https://docs.ceph.com/en/${docVersion}/`;
const domainCeph = `https://ceph.io/`;