regolith/htmlbuilder.py
def jobs(self):
        """Render the jobs and each job"""
        jobs_dir = os.path.join(self.bldir, 'jobs')
        os.makedirs(jobs_dir, exist_ok=True)
        for job in self.gtx['jobs']:
            self.render('job.html', os.path.join('jobs', job['_id'] + '.html'),
                        job=job,
                        title='{0} ({1})'.format(job['title'], job['_id']))
        self.render('jobs.html', os.path.join('jobs', 'index.html'),
                    title='Jobs')
Render the jobs and each job
Render the jobs and each job
Render the jobs and each job
def jobs(self):
        jobs_dir = os.path.join(self.bldir, 'jobs')
        os.makedirs(jobs_dir, exist_ok=True)
        for job in self.gtx['jobs']:
            self.render('job.html', os.path.join('jobs', job['_id'] + '.html'),
                        job=job,
                        title='{0} ({1})'.format(job['title'], job['_id']))
        self.render('jobs.html', os.path.join('jobs', 'index.html'),
                    title='Jobs')
def jobs ( self ) : jobs_dir = os . path . join ( self . bldir , 'jobs' ) os . makedirs ( jobs_dir , exist_ok = True ) for job in self . gtx [ 'jobs' ] : self . render ( 'job.html' , os . path . join ( 'jobs' , job [ '_id' ] + '.html' ) , job = job , title = '{0} ({1})' . format ( job [ 'title' ] , job [ '_id' ] ) ) self . render ( 'jobs.html' , os . path . join ( 'jobs' , 'index.html' ) , title = 'Jobs' )
Render the jobs and each job
Render the jobs and each job
"""Render the jobs and each job"""
self